diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-03-11 16:03:04 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-03-11 16:03:04 +0900 |
| commit | 4ab70294ea01cbaf6bdbfbea5bbd854f6661cfd8 (patch) | |
| tree | 381e7a1fd9761e9b072aa9f6da431773904eba97 /src/vm.c | |
| parent | 94395e81c1e853fbfd507a0d12e5836a64bf0ce7 (diff) | |
| download | mruby-4ab70294ea01cbaf6bdbfbea5bbd854f6661cfd8.tar.gz mruby-4ab70294ea01cbaf6bdbfbea5bbd854f6661cfd8.zip | |
Revert 642ab8e; ref #3422
Also fix #3499. The issue was solved by #3462.
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -289,7 +289,6 @@ ecall(mrb_state *mrb, int i) mrb_value *self = mrb->c->stack; struct RObject *exc; int cioff; - ptrdiff_t nstk; if (i<0) return; if (mrb->c->ci - mrb->c->cibase > MRB_FUNCALL_DEPTH_MAX) { @@ -301,7 +300,6 @@ ecall(mrb_state *mrb, int i) mrb->c->ci->eidx = i; cioff = mrb->c->ci - mrb->c->cibase; ci = cipush(mrb); - nstk = ci->stackent - mrb->c->stbase; ci->stackent = mrb->c->stack; ci->mid = ci[-1].mid; ci->acc = CI_ACC_SKIP; @@ -313,7 +311,6 @@ ecall(mrb_state *mrb, int i) exc = mrb->exc; mrb->exc = 0; mrb_run(mrb, p, *self); mrb->c->ensure[i] = NULL; - ci->stackent = mrb->c->stbase + nstk; mrb->c->ci = mrb->c->cibase + cioff; if (!mrb->exc) mrb->exc = exc; } |
