Commit 0f90d7a9 authored by dbarbera's avatar dbarbera
Browse files

Fixed inner procedure generation

parent f8070e46
......@@ -325,6 +325,8 @@ def generate_input_signal(signal, inputs):
switch = g.builder.switch(g_state_val, exit_block)
for state_name, state_id in g.states.iteritems():
if state_name.endswith('START'):
continue
state_block = func.append_basic_block('state_%s' % str(state_name))
switch.add_case(state_id, state_block)
g.builder.position_at_end(state_block)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment