File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -561,6 +561,7 @@ zjit_compile(rb_execution_context_t *ec)
561561
562562static inline void zjit_materialize_frames (rb_control_frame_t * cfp );
563563
564+ #if USE_YJIT || USE_ZJIT
564565// Execute JIT code compiled by yjit_compile() or zjit_compile()
565566static inline VALUE
566567jit_exec (rb_execution_context_t * ec )
@@ -595,7 +596,6 @@ jit_exec(rb_execution_context_t *ec)
595596 return Qundef ;
596597}
597598
598- #if USE_YJIT || USE_ZJIT
599599// Generate JIT code that supports the following kind of ISEQ entry:
600600// * The first ISEQ pushed by vm_exec_handle_exception. The frame would
601601// point to a location specified by a catch table, and it doesn't have
@@ -652,6 +652,7 @@ jit_exec_exception(rb_execution_context_t *ec)
652652}
653653#else
654654# define jit_compile_exception (ec ) ((rb_jit_func_t)0)
655+ # define jit_exec (ec ) Qundef
655656# define jit_exec_exception (ec ) Qundef
656657#endif
657658
You can’t perform that action at this time.
0 commit comments