summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 02:51:48 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 14:22:44 +0900
commit1a9cc3b27c020c33c87d8b4fe659243aacfeedf3 (patch)
treea42b16de623a5e7236bf326a185444ff1985d2cb /insns.def
parent355ccdeae52cde250f09675e9d5e65b3ddc41f2e (diff)
Avoid defining unused instructions
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2420
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/insns.def b/insns.def
index 1399687578..e3edc5e29f 100644
--- a/insns.def
+++ b/insns.def
@@ -624,7 +624,7 @@ reverse
}
/* for stack caching. */
-DEFINE_INSN
+DEFINE_INSN_IF(STACK_CACHING)
reput
()
(..., VALUE val)
@@ -1485,7 +1485,7 @@ opt_call_c_function
}
/* BLT */
-DEFINE_INSN
+DEFINE_INSN_IF(SUPPORT_JOKE)
bitblt
()
()
@@ -1495,7 +1495,7 @@ bitblt
}
/* The Answer to Life, the Universe, and Everything */
-DEFINE_INSN
+DEFINE_INSN_IF(SUPPORT_JOKE)
answer
()
()