Permalink
Browse files

Fixed ecall() invoked too early; fix #3464

  • Loading branch information...
matz committed Feb 27, 2017
1 parent 3fc9bf3 commit 50bbdbb11b1cecd2843db2825cab4081893047c1
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/vm.c
View
@@ -1628,9 +1628,6 @@ mrb_vm_exec(mrb_state *mrb, struct RProc *proc, mrb_code *pc)
ci = mrb->c->ci;
if (ci == mrb->c->cibase) {
mrb->c->stack = stk;
while (eidx > 0) {
ecall(mrb, --eidx);
}
if (ci->ridx == 0) {
if (mrb->c == mrb->root_c) {
mrb->c->stack = mrb->c->stbase;

0 comments on commit 50bbdbb

Please sign in to comment.