diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-18 07:07:33 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-11-18 07:07:33 +0900 |
| commit | 52070a98980f70877280e2d548987a149ae2bd50 (patch) | |
| tree | 3097b1837f76236f20c79259718bcbd0af3b6e54 /src | |
| parent | 71011cdc9edef3fdfde64f52d8a88ed161e400f3 (diff) | |
| download | mruby-52070a98980f70877280e2d548987a149ae2bd50.tar.gz mruby-52070a98980f70877280e2d548987a149ae2bd50.zip | |
check upper callinfo to call ensure block; close #1579
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1284,7 +1284,7 @@ mrb_context_run(mrb_state *mrb, struct RProc *proc, mrb_value self, unsigned int mrb->jmp = prev_jmp; mrb_longjmp(mrb); } - while (eidx > ci->eidx) { + while (eidx > ci[-1].eidx) { ecall(mrb, --eidx); } if (ci == mrb->c->cibase) { |
