summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-02-27 18:40:35 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-02-27 18:40:35 +0900
commit50bbdbb11b1cecd2843db2825cab4081893047c1 (patch)
tree4cdbeb3687c112ebe777c05d185bd66b5f1fd72e
parent3fc9bf3d5f8c653a86a7c419ff87ca9176b008af (diff)
downloadmruby-50bbdbb11b1cecd2843db2825cab4081893047c1.tar.gz
mruby-50bbdbb11b1cecd2843db2825cab4081893047c1.zip
Fixed ecall() invoked too early; fix #3464
-rw-r--r--src/vm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vm.c b/src/vm.c
index 3ff54a88f..327cbc5f7 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -1628,9 +1628,6 @@ RETRY_TRY_BLOCK:
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;