Skip to content

Commit 7b1e0a6

Browse files
rwstaunerk0kubun
authored andcommitted
ZJIT: Define jit_compile_exception for ZJIT even without YJIT
Seems like an oversight
1 parent 03a9d07 commit 7b1e0a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ jit_exec(rb_execution_context_t *ec)
584584
return Qundef;
585585
}
586586

587-
#if USE_YJIT
587+
#if USE_YJIT || USE_ZJIT
588588
// Generate JIT code that supports the following kind of ISEQ entry:
589589
// * The first ISEQ pushed by vm_exec_handle_exception. The frame would
590590
// point to a location specified by a catch table, and it doesn't have

0 commit comments

Comments
 (0)