diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-25 19:54:35 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-25 19:57:46 +0900 |
| commit | c53747dbdf45759949a9629b7df269f4254d705e (patch) | |
| tree | 9ade416ca6fd65f845db383126a217ba83d32594 | |
| parent | 517cd51cea4bcc61444b02861f3e0d8cb93b6383 (diff) | |
| download | mruby-c53747dbdf45759949a9629b7df269f4254d705e.tar.gz mruby-c53747dbdf45759949a9629b7df269f4254d705e.zip | |
Revert "Use env preserved in Proc structure in ecall(); fix #3612"
This reverts commit e26e11860466676e5713fa0d9ab268ea8dbdcef9.
Fix #3664
| -rw-r--r-- | src/vm.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |
