Merge pull request #6308 from dearblue/vm-catch

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-07-22 16:29:56 +09:00
committed by GitHub
+2
View File
@@ -3109,6 +3109,8 @@ RETRY_TRY_BLOCK:
#undef regs
}
MRB_CATCH(&c_jmp) {
mrb_assert(mrb->exc != NULL);
mrb_callinfo *ci = mrb->c->ci;
while (ci > mrb->c->cibase && ci->cci == CINFO_DIRECT) {
ci = cipop(mrb);