The current code used NewNumberFromDouble only in a couple of places and NumberFromDouble in 20 or so places.
http://codereview.chromium.org/1694004/diff/10001/11001 File src/heap.cc (right): http://codereview.chromium.org/1694004/diff/10001/11001#newcode1832 src/heap.cc:1832: if (rep.bits == plus_zero.bits) return Smi::FromInt(0); // not uncommon On 2010/04/26 10:57:48, Søren Gjesse wrote:
Start comment with uppercase and end with dot.
I'm removing the checks, according to your advice. http://codereview.chromium.org/1694004/show -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
