Reviewers: William Hesse, Description: Fix presubmit error.
[email protected] Please review this at http://codereview.chromium.org/661090 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/runtime.cc Index: src/runtime.cc =================================================================== --- src/runtime.cc (revision 3956) +++ src/runtime.cc (working copy) @@ -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
