mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add =num
to yjit options
`--yjit-call-threshold` and `--yjit-max-versions` need an argument.
This commit is contained in:
parent
cc01ae591b
commit
a7faca51ac
1 changed files with 5 additions and 5 deletions
10
ruby.c
10
ruby.c
|
@ -366,12 +366,12 @@ usage(const char *name, int help, int highlight, int columns)
|
|||
};
|
||||
static const struct message yjit_options[] = {
|
||||
#if YJIT_STATS
|
||||
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
|
||||
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
|
||||
#endif
|
||||
M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 256)"),
|
||||
M("--yjit-call-threshold", "", "Number of calls to trigger JIT (default: 10)"),
|
||||
M("--yjit-max-versions", "", "Maximum number of versions per basic block (default: 4)"),
|
||||
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),
|
||||
M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 256)"),
|
||||
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)"),
|
||||
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),
|
||||
};
|
||||
int i;
|
||||
const char *sb = highlight ? esc_standout+1 : esc_none;
|
||||
|
|
Loading…
Reference in a new issue