зеркало из https://github.com/github/ruby.git
YJIT_STATS instead of RUBY_DEBUG for --yjit-stats in help printout
This commit is contained in:
Родитель
d4fae3e390
Коммит
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)"),
|
||||
};
|
||||
static const struct message yjit_options[] = {
|
||||
#if RUBY_DEBUG
|
||||
#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: 256)"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче