summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-25 04:03:35 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-25 04:03:35 (GMT)
commitf00bf242724d40d59a242c6bf9e567d18c9e1872 (patch)
treeb3ec8d99e7f7360152f5813aacc0b3560fed3914 /vm_insnhelper.c
parentb0156ad08d9ea8f1e352739fc339599153fa7808 (diff)
Revert r64824 to fix build failure on AppVeyor
AppVeyor msys2/MinGW build started to fail like: https://ci.appveyor.com/project/ruby/ruby/build/9722/job/b94kixi004klmye3 Until I can investigate that, I revert this for now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64829 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)) {