From 1f25bba7b7d8851039df82fe3809387629256c78 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 7 Oct 2021 17:53:59 -0400 Subject: YJIT_STATS instead of RUBY_DEBUG for --yjit-stats in help printout --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"), -- cgit v1.2.3