Skip to content

Commit

Permalink
Revert "Use env preserved in Proc structure in ecall(); fix #3612"
Browse files Browse the repository at this point in the history
This reverts commit e26e118.
Fix #3664
  • Loading branch information
matz committed May 25, 2017
1 parent 517cd51 commit c53747d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ ecall(mrb_state *mrb, int i)
ci->acc = CI_ACC_SKIP;
ci->argc = 0;
ci->proc = p;
ci->env = p->env;
ci->nregs = p->body.irep->nregs;
ci->target_class = p->target_class;
mrb->c->stack = mrb->c->stack + ci[-1].nregs;
Expand Down

0 comments on commit c53747d

Please sign in to comment.