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

ruby-changes:72324

From: Alan <ko1@a...>
Date: Sun, 26 Jun 2022 21:44:42 +0900 (JST)
Subject: [ruby-changes:72324] 2085201176 (master): YJIT: Undef YJIT_SUPPORTED_P for hygiene

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

From 2085201176775c1c0b6fd0c4791dbdad6d68c37f Mon Sep 17 00:00:00 2001
From: Alan Wu <alanwu@r...>
Date: Sun, 26 Jun 2022 08:22:44 -0400
Subject: YJIT: Undef YJIT_SUPPORTED_P for hygiene

YJIT_BUILD is more relevant outside of YJIT.
---
 yjit.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/yjit.h b/yjit.h
index a1e3efb330..cf420df251 100644
--- a/yjit.h
+++ b/yjit.h
@@ -29,6 +29,8 @@ https://github.com/ruby/ruby/blob/trunk/yjit.h#L29
 # define YJIT_BUILD 0
 #endif
 
+#undef YJIT_SUPPORTED_P
+
 #if YJIT_BUILD
 
 // Expose these as declarations since we are building YJIT.
-- 
cgit v1.2.1


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

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