diff options
author | Takashi Kokubun <[email protected]> | 2022-11-14 23:38:52 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-14 23:38:52 -0800 |
commit | d15d1c01c28f63888475f8016adbc8b4f982b573 (patch) | |
tree | 81db7a029619646885607483de43f39303b74fbe /vm.c | |
parent | c75de1e3304e804be9c073940f396c8a506a005f (diff) |
Rename --mjit-min-calls to --mjit-call-threshold (#6731)
for consistency with YJIT
Notes
Notes:
Merged-By: k0kubun <[email protected]>
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -391,7 +391,7 @@ mjit_check_iseq(rb_execution_context_t *ec, const rb_iseq_t *iseq, struct rb_ise ASSUME(func_i <= LAST_JIT_ISEQ_FUNC); switch ((enum rb_mjit_iseq_func)func_i) { case NOT_ADDED_JIT_ISEQ_FUNC: - if (body->total_calls == mjit_opts.min_calls) { + if (body->total_calls == mjit_opts.call_threshold) { rb_mjit_add_iseq_to_process(iseq); if (UNLIKELY(mjit_opts.wait && (uintptr_t)body->jit_func > LAST_JIT_ISEQ_FUNC)) { return body->jit_func(ec, ec->cfp); |