summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-01-30 22:55:58 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-01-30 22:55:58 +0900
commit55431b4cef95541dc07f30f52b7fad9e9638b0be (patch)
treec8b5af400de267b5c744cb854ebd34d63843043f /src
parent43594843d721272d22518d4d0eeb669b730daca7 (diff)
downloadmruby-55431b4cef95541dc07f30f52b7fad9e9638b0be.tar.gz
mruby-55431b4cef95541dc07f30f52b7fad9e9638b0be.zip
Need not to pop `callinfo` on `OP_STOP`.
Diffstat (limited to 'src')
-rw-r--r--src/vm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vm.c b/src/vm.c
index 084811499..1f47eb99c 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -2934,9 +2934,6 @@ RETRY_TRY_BLOCK:
CASE(OP_STOP) {
/* stop VM */
L_STOP:
- while (mrb->c->ci > mrb->c->cibase) {
- cipop(mrb);
- }
while (mrb->c->eidx > 0) {
ecall(mrb);
}