summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-12-19 07:19:56 -0800
committerGitHub <noreply@github.com>2022-12-19 10:19:56 -0500
commitbcdc9cf1590caeda83c4e8f90f27a4a80b152e08 (patch)
treecab419d1d11f28065def61fb1e6ff551a01de3e2 /ruby.c
parent1148636e3dfb3aa25485b6e5cf40c043df848c07 (diff)
downloadruby-bcdc9cf1590caeda83c4e8f90f27a4a80b152e08.tar.gz
YJIT: Make --yjit-stats always visible on --help (#6946)
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 297ebb5c26..c27f44edb3 100644
--- a/ruby.c
+++ b/ruby.c
@@ -337,9 +337,7 @@ usage(const char *name, int help, int highlight, int columns)
#endif
#if USE_YJIT
static const struct ruby_opt_message yjit_options[] = {
-#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: 64)"),
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)"),