Fix the JIT-unsupported case

This commit is contained in:
Takashi Kokubun 2023-03-16 10:48:17 -07:00
parent 9947574b9c
commit ed18093200

2
vm.c
View File

@ -415,7 +415,7 @@ jit_exec(rb_execution_context_t *ec)
}
}
#else
static inline jit_func_t jit_compile(rb_execution_context_t *ec) { return 0; }
static inline rb_jit_func_t jit_compile(rb_execution_context_t *ec) { return 0; }
static inline VALUE jit_exec(rb_execution_context_t *ec) { return Qundef; }
#endif