Revision: 3957 Author: [email protected] Date: Thu Feb 25 10:26:36 2010 Log: Fix presubmit error.
[email protected] Review URL: http://codereview.chromium.org/661090 http://code.google.com/p/v8/source/detail?r=3957 Modified: /branches/bleeding_edge/src/runtime.cc ======================================= --- /branches/bleeding_edge/src/runtime.cc Thu Feb 25 10:19:12 2010 +++ /branches/bleeding_edge/src/runtime.cc Thu Feb 25 10:26:36 2010 @@ -4180,7 +4180,7 @@ // We do not include 0 so that we don't have to treat +0 / -0 cases. if (number > 0 && number <= Smi::kMaxValue) { return Smi::FromInt(static_cast<int>(number)); - } + } return Heap::NumberFromInt32(DoubleToInt32(number)); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
