diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2023-11-20 16:26:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 21:26:18 +0000 |
commit | f9628fb4be1c5eb5a652a6c3d3d97530bdcc76a5 (patch) | |
tree | 9f30a4aae59ea7c4345847d8824da8192fec2855 /yjit/src/options.rs | |
parent | 323bec6295e46a6f4926e742f7444fc54924b527 (diff) | |
download | ruby-f9628fb4be1c5eb5a652a6c3d3d97530bdcc76a5.tar.gz |
YJIT: make --yjit-max-versions=N option undocumented (#8962)
Not useful for the vast majority of end users to change
this option.
Diffstat (limited to 'yjit/src/options.rs')
-rw-r--r-- | yjit/src/options.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yjit/src/options.rs b/yjit/src/options.rs index 2c45b91710..ebd3bbbc0c 100644 --- a/yjit/src/options.rs +++ b/yjit/src/options.rs @@ -100,7 +100,7 @@ pub static mut OPTIONS: Options = Options { }; /// YJIT option descriptions for `ruby --help`. -static YJIT_OPTIONS: [(&str, &str); 9] = [ +static YJIT_OPTIONS: [(&str, &str); 8] = [ ("--yjit-stats", "Enable collecting YJIT statistics"), ("--yjit-trace-exits", "Record Ruby source location when exiting from generated code"), ("--yjit-trace-exits-sample-rate", "Trace exit locations only every Nth occurrence"), @@ -108,7 +108,6 @@ static YJIT_OPTIONS: [(&str, &str); 9] = [ ("--yjit-code-gc", "Run code GC when the code size reaches the limit"), ("--yjit-call-threshold=num", "Number of calls to trigger JIT"), ("--yjit-cold-threshold=num", "Global call after which ISEQs not compiled (default: 200K)"), - ("--yjit-max-versions=num", "Maximum number of versions per basic block (default: 4)"), ("--yjit-perf", "Enable frame pointers and perf profiling"), ]; |