Remove unnecessary code; ref #3711

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-11-29 11:43:39 +09:00
parent 597149ae23
commit 6bb5ad786c
-4
View File
@@ -1908,12 +1908,8 @@ RETRY_TRY_BLOCK:
}
/* call ensure only when we skip this callinfo */
if (ci[0].ridx == ci[-1].ridx) {
mrb_value *org_stbase = mrb->c->stbase;
while (mrb->c->eidx > ci->epos) {
ecall_adjust();
if (org_stbase != mrb->c->stbase) {
stk = mrb->c->stack;
}
}
}
}