summaryrefslogtreecommitdiff
path: root/vm_opts.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-04 04:57:50 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-04 04:57:50 +0000
commitd3842de5c9baa2962e01d02b2499eac49d9065a6 (patch)
tree9c077a93d188457f2fc83c092b880482854c72cf /vm_opts.h
parent51ee08fd7128639ecb82997612b028ba94ba8c3d (diff)
* vm_opts.h: enable optimization - operand unifications.
Operand unification technique enable to combine an instruction and specific operands and make new instruction. * defs/opt_operand.def: add several configuration of operand unifications. * insns.def: use `int' instead to suppress warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_opts.h')
-rw-r--r--vm_opts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_opts.h b/vm_opts.h
index f77b01886e..b5c91ea809 100644
--- a/vm_opts.h
+++ b/vm_opts.h
@@ -41,7 +41,7 @@
#define OPT_BLOCKINLINING 0
/* architecture independent, affects generated code */
-#define OPT_OPERANDS_UNIFICATION 0
+#define OPT_OPERANDS_UNIFICATION 1
#define OPT_INSTRUCTIONS_UNIFICATION 0
#define OPT_UNIFY_ALL_COMBINATION 0
#define OPT_STACK_CACHING 0
@@ -50,7 +50,7 @@
#define SUPPORT_JOKE 0
#ifndef VM_COLLECT_USAGE_DETAILS
-#define VM_COLLECT_USAGE_DETAILS 0
+#define VM_COLLECT_USAGE_DETAILS 0
#endif
#endif /* RUBY_VM_OPTS_H */