diff options
-rw-r--r-- | mjit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -151,10 +151,12 @@ mjit_exec(rb_execution_context_t *ec) body = iseq->body; body->total_calls++; +#ifndef MJIT_HEADER const int ujit_call_threashold = 10; if (body->total_calls == ujit_call_threashold) { rb_ujit_compile_iseq(iseq); } +#endif mjit_func_t func = body->jit_func; if (UNLIKELY((uintptr_t)func <= LAST_JIT_ISEQ_FUNC)) { |