ruby-changes:29322
From: akr <ko1@a...>
Date: Tue, 18 Jun 2013 12:39:02 +0900 (JST)
Subject: [ruby-changes:29322] akr:r41374 (trunk): * bignum.c (rb_big_xor): Non-effective code removed.
akr 2013-06-18 12:37:53 +0900 (Tue, 18 Jun 2013) New Revision: 41374 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41374 Log: * bignum.c (rb_big_xor): Non-effective code removed. Modified files: trunk/ChangeLog trunk/bignum.c Index: ChangeLog =================================================================== --- ChangeLog (revision 41373) +++ ChangeLog (revision 41374) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jun 18 12:25:16 2013 Tanaka Akira <akr@f...> + + * bignum.c (rb_big_xor): Non-effective code removed. + Tue Jun 18 11:26:05 2013 Koichi Sasada <ko1@a...> * gc.c (gc_stat): add `generated_normal_object_count_types' for Index: bignum.c =================================================================== --- bignum.c (revision 41373) +++ bignum.c (revision 41374) @@ -4638,8 +4638,6 @@ rb_big_xor(VALUE xx, VALUE yy) https://github.com/ruby/ruby/blob/trunk/bignum.c#L4638 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/