summaryrefslogtreecommitdiff
path: root/mjit_compile.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-14 11:25:36 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-14 11:25:36 (GMT)
commit589d80e7e337f166777d8f99f190a45013e6f050 (patch)
treeecbdc2b780cbc48e582c134e5852b50d503548c5 /mjit_compile.c
parentf89fe59db4bf1768d5f6480d15b67f8ebc24d5b9 (diff)
vm_opts.h: share USE_IC_FOR_IVAR as OPT_IC_FOR_IVAR
with mjit_compile.c (tool/ruby_vm/views/_mjit_compile_getivar.erb). mjit_compile.c: ditto tool/ruby_vm/views/_mjit_compile_getivar.erb: ditto vm_opts.h: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index 89d1a96..b2ece0e 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -108,11 +108,6 @@ 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);