summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-14 00:13:24 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-17 15:23:01 +0900
commitb880576e595adab0e5ed0a25369ec7035c2cbfc1 (patch)
tree692c57e964140f32eba31475a4deba436f96e30c
parent81fbc8d5531be5e61f639c2ee4509017b5e010a0 (diff)
yjit.h is not necessary for all sources using mjit.h
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6239
-rw-r--r--mjit.h1
-rw-r--r--mjit_compile.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/mjit.h b/mjit.h
index 48790f6617..344b20b901 100644
--- a/mjit.h
+++ b/mjit.h
@@ -17,7 +17,6 @@
#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 @@
#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"