Commit 64dcfbd2 authored by dbarbera's avatar dbarbera
Browse files

Fixed input signal parameter generation

parent ddd77f61
......@@ -292,7 +292,10 @@ def _generate_input_signal(signal, inputs):
if input:
for var_name in input.parameters:
var_ptr = g.scope.resolve(str(var_name))
generate_assign(var_ptr, func.args[0])
if is_struct_ptr(var_ptr):
generate_assign(var_ptr, func.args[0])
generate_assign(var_ptr, g.builder.load(func.args[0]))
if input.transition:
id_val =, input.transition_id)['run_transition'], [id_val])
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