mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codegen.c: keep stack space for block argument.
This commit is contained in:
@@ -1956,6 +1956,7 @@ gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val)
|
||||
pop();
|
||||
genop_2(s, OP_ARYPUSH, cursp(), 1);
|
||||
}
|
||||
push(); pop();
|
||||
s->sp = call;
|
||||
if (mid == MRB_OPSYM_2(s->mrb, aref) && n == 2) {
|
||||
genop_1(s, OP_SETIDX, cursp());
|
||||
|
||||
Reference in New Issue
Block a user