mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #2136 from mirichi/bug-fix2
area of implicit nil is not enough to nregs
This commit is contained in:
@@ -819,6 +819,7 @@ gen_call(codegen_scope *s, node *tree, mrb_sym name, int sp, int val)
|
||||
else {
|
||||
blk = cursp();
|
||||
}
|
||||
push();pop();
|
||||
pop_n(n+1);
|
||||
{
|
||||
mrb_int len;
|
||||
@@ -1631,6 +1632,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
break;
|
||||
}
|
||||
codegen(s, tree->cdr->cdr->car, VAL);
|
||||
push();pop();
|
||||
pop(); pop();
|
||||
|
||||
idx = new_msym(s, sym);
|
||||
|
||||
Reference in New Issue
Block a user