should not pop register when value from multiple assignment required

parent 09c6ca93
......@@ -1636,9 +1636,11 @@ codegen(codegen_scope *s, node *tree, int val)
/* variable rhs */
codegen(s, t, VAL);
gen_vmassignment(s, tree->car, rhs, val);
if (!val) {
pop();
}
}
}
break;
case NODE_OP_ASGN:
......
Markdown is supported
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