summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-11-29 11:43:39 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-11-29 11:44:07 +0900
commit6bb5ad786c7a4d70110e4613dea80cf4fadf68aa (patch)
tree6b98b3e48ac23380a0fdf3a23d4c0e98a851a011 /src
parent597149ae23916a5b0ce616565cbbe7bd97142a63 (diff)
downloadmruby-6bb5ad786c7a4d70110e4613dea80cf4fadf68aa.tar.gz
mruby-6bb5ad786c7a4d70110e4613dea80cf4fadf68aa.zip
Remove unnecessary code; ref #3711
Diffstat (limited to 'src')
-rw-r--r--src/vm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vm.c b/src/vm.c
index 90941bcfe..ddb73d1a4 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -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;
- }
}
}
}