* 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
This commit is contained in:
akr 2013-06-18 03:37:53 +00:00
parent 1d7966f5b4
commit b5c81904e6
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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);