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

ruby-changes:72946

From: Nobuyoshi <ko1@a...>
Date: Wed, 17 Aug 2022 15:23:23 +0900 (JST)
Subject: [ruby-changes:72946] b880576e59 (master): yjit.h is not necessary for all sources using mjit.h

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

From b880576e595adab0e5ed0a25369ec7035c2cbfc1 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 14 Aug 2022 00:13:24 +0900
Subject: yjit.h is not necessary for all sources using mjit.h

---
 mjit.h         | 1 -
 mjit_compile.c | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/mjit.h b/mjit.h
index 48790f6617..344b20b901 100644
--- a/mjit.h
+++ b/mjit.h
@@ -17,7 +17,6 @@ https://github.com/ruby/ruby/blob/trunk/mjit.h#L17
 #include "debug_counter.h"
 #include "ruby.h"
 #include "vm_core.h"
-#include "yjit.h"
 
 // Special address values of a function generated from the
 // corresponding iseq by MJIT:
diff --git a/mjit_compile.c b/mjit_compile.c
index 2c7996c258..390e3d2850 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -21,6 +21,7 @@ https://github.com/ruby/ruby/blob/trunk/mjit_compile.c#L21
 #include "internal/variable.h"
 #include "mjit.h"
 #include "mjit_unit.h"
+#include "yjit.h"
 #include "vm_core.h"
 #include "vm_callinfo.h"
 #include "vm_exec.h"
-- 
cgit v1.2.1


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

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