summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-10-07 17:53:59 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:42 -0400
commit1f25bba7b7d8851039df82fe3809387629256c78 (patch)
tree34c97edbf51c9c01ddbbd1f4660455fa6211b6d0
parentd4fae3e390c884f23048d8070d456d9f4f7d3233 (diff)
YJIT_STATS instead of RUBY_DEBUG for --yjit-stats in help printout
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index e98e58170b..c488792a5a 100644
--- a/ruby.c
+++ b/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)"),