YJIT: Make --yjit-stats always visible on --help (#6946)
This commit is contained in:
parent
1148636e3d
commit
bcdc9cf159
Notes:
git
2022-12-19 15:20:17 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
2
ruby.c
2
ruby.c
@ -337,9 +337,7 @@ usage(const char *name, int help, int highlight, int columns)
|
||||
#endif
|
||||
#if USE_YJIT
|
||||
static const struct ruby_opt_message yjit_options[] = {
|
||||
#if YJIT_STATS
|
||||
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
|
||||
#endif
|
||||
M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 64)"),
|
||||
M("--yjit-call-threshold=num", "", "Number of calls to trigger JIT (default: 10)"),
|
||||
M("--yjit-max-versions=num", "", "Maximum number of versions per basic block (default: 4)"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user