aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-18 03:37:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-18 03:37:53 +0000
commitb5c81904e6239a414eb90d8658549d5efe4fea7f (patch)
tree2e2b3d6043677c4a0b16c3debc73ed6430e4b028
parent1d7966f5b461472bd95184c6cea9f0d1a5bdf1da (diff)
downloadruby-b5c81904e6239a414eb90d8658549d5efe4fea7f.tar.gz
* bignum.c (rb_big_xor): Non-effective code removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--bignum.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d66794d125..99f52cfea1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jun 18 12:25:16 2013 Tanaka Akira <akr@fsij.org>
+
+ * bignum.c (rb_big_xor): Non-effective code removed.
+
Tue Jun 18 11:26:05 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_stat): add `generated_normal_object_count_types' for
diff --git a/bignum.c b/bignum.c
index 7eda823baf..dbe1a3353b 100644
--- a/bignum.c
+++ b/bignum.c
@@ -4638,8 +4638,6 @@ rb_big_xor(VALUE xx, VALUE yy)
ds2 = BDIGITS(y);
sign = RBIGNUM_SIGN(x);
}
- RBIGNUM_SET_SIGN(x, RBIGNUM_SIGN(x)?1:0);
- RBIGNUM_SET_SIGN(y, RBIGNUM_SIGN(y)?1:0);
z = bignew(l2, !(RBIGNUM_SIGN(x) ^ RBIGNUM_SIGN(y)));
zds = BDIGITS(z);