summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
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 /vm_insnhelper.c
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 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 29e6545..29b9358 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3653,30 +3653,6 @@ vm_opt_ltlt(VALUE recv, VALUE obj)
}
static VALUE
-vm_opt_and(VALUE recv, VALUE obj)
-{
- if (FIXNUM_2_P(recv, obj) &&
- BASIC_OP_UNREDEFINED_P(BOP_AND, INTEGER_REDEFINED_OP_FLAG)) {
- return LONG2NUM(FIX2LONG(recv) & FIX2LONG(obj));
- }
- else {
- return Qundef;
- }
-}
-
-static VALUE
-vm_opt_or(VALUE recv, VALUE obj)
-{
- if (FIXNUM_2_P(recv, obj) &&
- BASIC_OP_UNREDEFINED_P(BOP_OR, INTEGER_REDEFINED_OP_FLAG)) {
- return LONG2NUM(FIX2LONG(recv) | FIX2LONG(obj));
- }
- else {
- return Qundef;
- }
-}
-
-static VALUE
vm_opt_aref(VALUE recv, VALUE obj)
{
if (SPECIAL_CONST_P(recv)) {