YJIT_STATS instead of RUBY_DEBUG for --yjit-stats in help printout
This commit is contained in:
parent
d4fae3e390
commit
1f25bba7b7
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…
x
Reference in New Issue
Block a user