summaryrefslogtreecommitdiff
path: root/tool
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 /tool
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 'tool')
-rw-r--r--tool/ruby_vm/views/_mjit_compile_getivar.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/ruby_vm/views/_mjit_compile_getivar.erb b/tool/ruby_vm/views/_mjit_compile_getivar.erb
index 630fd72..da45d37 100644
--- a/tool/ruby_vm/views/_mjit_compile_getivar.erb
+++ b/tool/ruby_vm/views/_mjit_compile_getivar.erb
@@ -7,7 +7,7 @@
% # details.
%
% # Optimized case of get_instancevariable instruction.
-#if USE_IC_FOR_IVAR
+#if OPT_IC_FOR_IVAR
{
% # compiler: Prepare operands which may be used by `insn.call_attribute`
% insn.opes.each_with_index do |ope, i|
@@ -41,4 +41,4 @@
break;
}
}
-#endif /* USE_IC_FOR_IVAR */
+#endif /* OPT_IC_FOR_IVAR */