Permalink
Browse files

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

  • Loading branch information...
matz committed Apr 22, 2017
1 parent a1d32af commit 3b0a36d3993ff6c553b171c8bcb0e703a471ef5e
Showing with 2 additions and 1 deletion.
  1. +2 −1 mrbgems/mruby-compiler/core/codegen.c
@@ -2583,7 +2583,8 @@ codegen(codegen_scope *s, node *tree, int val)
genop(s, MKOP_ABx(OP_LOADSYM, cursp(), b));
push();
genop(s, MKOP_A(OP_LOADNIL, cursp()));
pop_n(3);
push();
pop_n(4);
genop(s, MKOP_ABC(OP_SEND, cursp(), c, 2));
if (val) {
push();

0 comments on commit 3b0a36d

Please sign in to comment.