summaryrefslogtreecommitdiff
path: root/vm_opts.h
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-14 11:25:36 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-14 11:25:36 +0000
commit589d80e7e337f166777d8f99f190a45013e6f050 (patch)
treeecbdc2b780cbc48e582c134e5852b50d503548c5 /vm_opts.h
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 'vm_opts.h')
-rw-r--r--vm_opts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_opts.h b/vm_opts.h
index b21db2b..6a7dd3d 100644
--- a/vm_opts.h
+++ b/vm_opts.h
@@ -50,6 +50,10 @@
#define OPT_GLOBAL_METHOD_CACHE 1
#define OPT_BLOCKINLINING 0
+#ifndef OPT_IC_FOR_IVAR
+#define OPT_IC_FOR_IVAR 1
+#endif
+
/* architecture independent, affects generated code */
#define OPT_OPERANDS_UNIFICATION 1
#define OPT_INSTRUCTIONS_UNIFICATION 0