From 589d80e7e337f166777d8f99f190a45013e6f050 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 14 Oct 2018 11:25:36 +0000 Subject: 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 --- mjit_compile.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mjit_compile.c') diff --git a/mjit_compile.c b/mjit_compile.c index 89d1a96a10..b2ece0eb77 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); -- cgit v1.2.3