From b880576e595adab0e5ed0a25369ec7035c2cbfc1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 14 Aug 2022 00:13:24 +0900 Subject: [PATCH] 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 @@ #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"