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
4
ruby.c
4
ruby.c
|
@ -369,8 +369,8 @@ usage(const char *name, int help, int highlight, int columns)
|
||||||
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)"),
|
||||||
M("--yjit-call-threshold", "", "Number of calls to trigger JIT (default: 10)"),
|
M("--yjit-call-threshold=num", "", "Number of calls to trigger JIT (default: 10)"),
|
||||||
M("--yjit-max-versions", "", "Maximum number of versions per basic block (default: 4)"),
|
M("--yjit-max-versions=num", "", "Maximum number of versions per basic block (default: 4)"),
|
||||||
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),
|
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue