Permalink
Browse files

Need not to pop `callinfo` on `OP_STOP`.

  • Loading branch information...
matz committed Jan 30, 2018
1 parent 4359484 commit 55431b4cef95541dc07f30f52b7fad9e9638b0be
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/vm.c
@@ -2934,9 +2934,6 @@ mrb_vm_exec(mrb_state *mrb, struct RProc *proc, mrb_code *pc)
CASE(OP_STOP) {
/* stop VM */
L_STOP:
while (mrb->c->ci > mrb->c->cibase) {
cipop(mrb);
}
while (mrb->c->eidx > 0) {
ecall(mrb);
}

0 comments on commit 55431b4

Please sign in to comment.