Commit d078747a authored by yangguo@chromium.org's avatar yangguo@chromium.org

Actually fix build.

R=svenpanne@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10825074

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12221 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e622892f
......@@ -51,6 +51,11 @@ inline double JunkStringValue() {
}
inline double SignedZero(bool negative) {
return negative ? uint64_to_double(Double::kSignMask) : 0.0;
}
// The fast double-to-unsigned-int conversion routine does not guarantee
// rounding towards zero, or any reasonable value if the argument is larger
// than what fits in an unsigned 32-bit integer.
......
......@@ -29,7 +29,6 @@
#define V8_CONVERSIONS_H_
#include "utils.h"
#include "double.h"
namespace v8 {
namespace internal {
......@@ -53,11 +52,6 @@ inline bool isDigit(int x, int radix) {
}
inline double SignedZero(bool negative) {
return negative ? BitCast<double, uint64_t>(Double::kSignMask) : 0.0;
}
// The fast double-to-(unsigned-)int conversion routine does not guarantee
// rounding towards zero.
// For NaN and values outside the int range, return INT_MIN or INT_MAX.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment