From 6ddd79fd0ebfd88a9b36be08d509e665a9322567 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 2 Sep 2015 21:46:51 +0900 Subject: ensure must not be called before rescue; fix #2933 --- src/vm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/vm.c b/src/vm.c index 00636a870..8419931d0 100644 --- a/src/vm.c +++ b/src/vm.c @@ -1486,9 +1486,6 @@ RETRY_TRY_BLOCK: if (ci->ridx == 0) goto L_STOP; goto L_RESCUE; } - while (eidx > ci[-1].eidx) { - ecall(mrb, --eidx); - } while (ci[0].ridx == ci[-1].ridx) { cipop(mrb); ci = mrb->c->ci; -- cgit v1.2.3