Permalink
Browse files

No need to use `ecall_adjust()`.

  • Loading branch information...
matz committed Nov 29, 2017
1 parent f35f975 commit afa53809e2633adccfd0681809b531e7e74b31e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/vm.c
@@ -1977,7 +1977,7 @@ mrb_vm_exec(mrb_state *mrb, struct RProc *proc, mrb_code *pc)
goto L_RAISE;
}
while (mrb->c->eidx > 0) {
ecall_adjust();
ecall(mrb);
}
/* automatic yield at the end */
mrb->c->status = MRB_FIBER_TERMINATED;

0 comments on commit afa5380

Please sign in to comment.