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..89d1a96a10 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -108,6 +108,11 @@ comment_id(FILE *f, ID id)
#endif
}
+/* TODO: share this with vm_insnhelper.c */
+#ifndef USE_IC_FOR_IVAR
+#define USE_IC_FOR_IVAR 1
+#endif
+
static void compile_insns(FILE *f, const struct rb_iseq_constant_body *body, unsigned int stack_size,
unsigned int pos, struct compile_status *status);