diff options
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -403,7 +403,7 @@ jit_exec(rb_execution_context_t *ec) } } else { // rjit_call_p - if (body->total_calls == rjit_opts.call_threshold) { + if (body->total_calls == rb_rjit_call_threshold()) { rb_rjit_compile(iseq); } if ((func = body->jit_func) == 0) { @@ -414,6 +414,12 @@ jit_exec(rb_execution_context_t *ec) // Call the JIT code return func(ec, ec->cfp); // SystemV x64 calling convention: ec -> RDI, cfp -> RSI } +#else +static inline VALUE +jit_exec(rb_execution_context_t *ec) +{ + return Qundef; +} #endif #include "vm_insnhelper.c" |