[前][次][番号順一覧][スレッド一覧]

ruby-changes:69204

From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:23:36 +0900 (JST)
Subject: [ruby-changes:69204] 1f25bba7b7 (master): YJIT_STATS instead of RUBY_DEBUG for --yjit-stats in help printout

https://git.ruby-lang.org/ruby.git/commit/?id=1f25bba7b7

From 1f25bba7b7d8851039df82fe3809387629256c78 Mon Sep 17 00:00:00 2001
From: Alan Wu <XrXr@u...>
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) https://github.com/ruby/ruby/blob/trunk/ruby.c#L356
         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.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]