summaryrefslogtreecommitdiff
path: root/mjit_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index b2ece0eb77..44eb13e212 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -11,6 +11,9 @@
GC (using ZALLOC, xmalloc, xfree, etc.) in this file. */
#include "internal.h"
+
+#if USE_MJIT
+
#include "vm_core.h"
#include "vm_exec.h"
#include "mjit.h"
@@ -242,3 +245,5 @@ mjit_compile(FILE *f, const struct rb_iseq_constant_body *body, const char *func
free(status.stack_size_for_pos);
return status.success;
}
+
+#endif /* USE_MJIT */ \ No newline at end of file