Commit 0d2b7b81 authored by yb9976's avatar yb9976
Browse files

Bugfix: The sizeof is handled by the macro

parent 3cd18d41
......@@ -236,7 +236,7 @@ def insdecl(node):
for input in node.ins:
res += "\n\tr_in[" + repr(i) + "] = irn_" + input.name + ";"
i += 1
res += "\n\tMEMCPY(&r_in[" + repr(insarity) + "], in, sizeof(ir_node *) * arity);\n\t"
res += "\n\tMEMCPY(&r_in[" + repr(insarity) + "], in, arity);\n\t"
elif arity == 0:
return ""
else:
......
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