mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
YJIT_STATS instead of RUBY_DEBUG for --yjit-stats in help printout
This commit is contained in:
parent
d4fae3e390
commit
1f25bba7b7
1 changed files with 1 additions and 1 deletions
2
ruby.c
2
ruby.c
|
@ -356,7 +356,7 @@ usage(const char *name, int help, int highlight, int columns)
|
||||||
M("--jit-min-calls=num", "", "Number of calls to trigger JIT (for testing, default: 10000)"),
|
M("--jit-min-calls=num", "", "Number of calls to trigger JIT (for testing, default: 10000)"),
|
||||||
};
|
};
|
||||||
static const struct message yjit_options[] = {
|
static const struct message yjit_options[] = {
|
||||||
#if RUBY_DEBUG
|
#if YJIT_STATS
|
||||||
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
|
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
|
||||||
#endif
|
#endif
|
||||||
M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 256)"),
|
M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 256)"),
|
||||||
|
|
Loading…
Reference in a new issue