diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-11-22 12:22:45 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-11-22 12:22:45 +0900 |
| commit | fbafa780983d2e37b2563f52aa068614fdf0bedc (patch) | |
| tree | 4ad22bf6a435ab8dab6c78a7476489897073e0e5 /src | |
| parent | 4665b07f7ba105c826228f1a297c75f6b588101f (diff) | |
| download | mruby-fbafa780983d2e37b2563f52aa068614fdf0bedc.tar.gz mruby-fbafa780983d2e37b2563f52aa068614fdf0bedc.zip | |
Clear ensure stack after calling in `OP_EPOP`; #3855 3856
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1338,6 +1338,7 @@ RETRY_TRY_BLOCK: pc = pc + 1; for (n=0; n<a; n++) { proc = mrb->c->ensure[epos+n]; + mrb->c->ensure[epos+n] = NULL; irep = proc->body.irep; ci = cipush(mrb); ci->mid = ci[-1].mid; |
