diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-14 23:38:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 23:38:52 -0800 |
commit | d15d1c01c28f63888475f8016adbc8b4f982b573 (patch) | |
tree | 81db7a029619646885607483de43f39303b74fbe /test/lib | |
parent | c75de1e3304e804be9c073940f396c8a506a005f (diff) | |
download | ruby-d15d1c01c28f63888475f8016adbc8b4f982b573.tar.gz |
Rename --mjit-min-calls to --mjit-call-threshold (#6731)
for consistency with YJIT
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/jit_support.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb index 1ea8da094e..26f8542dc2 100644 --- a/test/lib/jit_support.rb +++ b/test/lib/jit_support.rb @@ -38,10 +38,10 @@ module JITSupport [stdout, stderr] end - def eval_with_jit_without_retry(env = nil, script, verbose: 0, min_calls: 5, save_temps: false, max_cache: 1000, wait: true, timeout: JIT_TIMEOUT) + def eval_with_jit_without_retry(env = nil, script, verbose: 0, call_threshold: 5, save_temps: false, max_cache: 1000, wait: true, timeout: JIT_TIMEOUT) args = [ '--disable-gems', "--mjit-verbose=#{verbose}", - "--mjit-min-calls=#{min_calls}", "--mjit-max-cache=#{max_cache}", + "--mjit-call-threshold=#{call_threshold}", "--mjit-max-cache=#{max_cache}", ] args << '--disable-yjit' args << '--mjit-wait' if wait |