aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-11-22 20:54:32 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-11-22 20:55:33 -0800
commit0a2b9876968dcfd7015dff09d5e44dcbf5668244 (patch)
tree3db799c7c3f003076a34fcd9e4c86a3dbef6fff4 /mjit.h
parent01f38693aa50bce2ce27337bdf5991d08cb41eb4 (diff)
downloadruby-0a2b9876968dcfd7015dff09d5e44dcbf5668244.tar.gz
Make --disable-jit-support compile
vm_core.h needs to be included to know rb_execution_context_t, etc. I also added a trivial refactoring in mjit.c and missing dependency for process.c.
Diffstat (limited to 'mjit.h')
-rw-r--r--mjit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.h b/mjit.h
index 21767a67fc..63cd1d44e5 100644
--- a/mjit.h
+++ b/mjit.h
@@ -10,12 +10,12 @@
#include "ruby/internal/config.h"
#include "ruby/internal/stdbool.h"
+#include "vm_core.h"
# if USE_MJIT
#include "debug_counter.h"
#include "ruby.h"
-#include "vm_core.h"
// Special address values of a function generated from the
// corresponding iseq by MJIT: