Need to update ci after callinfo stack reallocation; fix #3796

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-08-29 11:06:34 +09:00
parent c082249838
commit 8976f47e0a
+1 -1
View File
@@ -1959,8 +1959,8 @@ RETRY_TRY_BLOCK:
mrb->c = c->prev;
c->prev = NULL;
ci = mrb->c->ci;
}
ci = mrb->c->ci;
if (ci->acc < 0) {
mrb_gc_arena_restore(mrb, ai);
mrb->c->vmexec = FALSE;