Permalink
Browse files

Revert "Use env preserved in Proc structure in ecall(); fix #3612"

This reverts commit e26e118.
Fix #3664
  • Loading branch information...
matz committed May 25, 2017
1 parent 517cd51 commit c53747dbdf45759949a9629b7df269f4254d705e
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/vm.c
View
@@ -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;

0 comments on commit c53747d

Please sign in to comment.