diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2021-02-23 15:22:20 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:30 -0400 |
commit | 0710bec01e405af596fa3e8e29ba38bb8176e39d (patch) | |
tree | 5917722657fa3a9ee00efb76bd4fd8ebd5a1586e /mjit.h | |
parent | 58657b33e751ec0718f539bc9fa62f0ffa02801f (diff) |
Implement --ujit-call-threshold
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ mjit_exec(rb_execution_context_t *ec) } #ifndef MJIT_HEADER - if (rb_ujit_enabled_p() && !mjit_call_p && body->total_calls == UJIT_CALL_THRESHOLD) { + if (rb_ujit_enabled_p() && !mjit_call_p && body->total_calls == rb_ujit_call_threshold()) { rb_ujit_compile_iseq(iseq); return Qundef; } |