summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-26 01:11:20 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-26 01:11:20 (GMT)
commite08f418230ac636be3288537306b69af804a748d (patch)
tree829424bb38c14e8e4dfdb8a9e715dded76745765 /insns.def
parentac1783578206076f81aeaa6ef4d71794d1ab9d5d (diff)
revert r64838 and r64839
because some build failures persisted git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def38
1 files changed, 10 insertions, 28 deletions
diff --git a/insns.def b/insns.def
index eb8c20b..742cd87 100644
--- a/insns.def
+++ b/insns.def
@@ -1216,34 +1216,6 @@ opt_ltlt
}
}
-/* optimized X&Y. */
-DEFINE_INSN
-opt_and
-(CALL_INFO ci, CALL_CACHE cc)
-(VALUE recv, VALUE obj)
-(VALUE val)
-{
- val = vm_opt_and(recv, obj);
-
- if (val == Qundef) {
- CALL_SIMPLE_METHOD();
- }
-}
-
-/* optimized X|Y. */
-DEFINE_INSN
-opt_or
-(CALL_INFO ci, CALL_CACHE cc)
-(VALUE recv, VALUE obj)
-(VALUE val)
-{
- val = vm_opt_or(recv, obj);
-
- if (val == Qundef) {
- CALL_SIMPLE_METHOD();
- }
-}
-
/* [] */
DEFINE_INSN
opt_aref
@@ -1438,6 +1410,16 @@ opt_call_c_function
NEXT_INSN();
}
+/* BLT */
+DEFINE_INSN
+bitblt
+()
+()
+(VALUE ret)
+{
+ ret = rb_str_new2("a bit of bacon, lettuce and tomato");
+}
+
/* The Answer to Life, the Universe, and Everything */
DEFINE_INSN
answer