diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-20 16:10:12 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-20 16:10:12 +0900 |
| commit | 36836c8eb9add532ae09357b6862c33e6af86a04 (patch) | |
| tree | 9f7c8f1a451c307fce9e40ff081c056fe936aa95 /src/vm.c | |
| parent | de65d4e2a74c065b0ab8704aefb3288865cdd40f (diff) | |
| download | mruby-36836c8eb9add532ae09357b6862c33e6af86a04.tar.gz mruby-36836c8eb9add532ae09357b6862c33e6af86a04.zip | |
should restore proc after rescue; close #1891
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1387,7 +1387,8 @@ RETRY_TRY_BLOCK: } } L_RESCUE: - irep = ci->proc->body.irep; + proc = ci->proc; + irep = proc->body.irep; pool = irep->pool; syms = irep->syms; regs = mrb->c->stack = ci[1].stackent; |
