Alias should `push()` extra stack space for blocks.

parent a1d32af9
...@@ -2583,7 +2583,8 @@ codegen(codegen_scope *s, node *tree, int val) ...@@ -2583,7 +2583,8 @@ codegen(codegen_scope *s, node *tree, int val)
genop(s, MKOP_ABx(OP_LOADSYM, cursp(), b)); genop(s, MKOP_ABx(OP_LOADSYM, cursp(), b));
push(); push();
genop(s, MKOP_A(OP_LOADNIL, cursp())); genop(s, MKOP_A(OP_LOADNIL, cursp()));
pop_n(3); push();
pop_n(4);
genop(s, MKOP_ABC(OP_SEND, cursp(), c, 2)); genop(s, MKOP_ABC(OP_SEND, cursp(), c, 2));
if (val) { if (val) {
push(); push();
......
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