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
This commit is contained in:
parent
e622892fac
commit
d078747ac0
@ -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
|
// The fast double-to-unsigned-int conversion routine does not guarantee
|
||||||
// rounding towards zero, or any reasonable value if the argument is larger
|
// rounding towards zero, or any reasonable value if the argument is larger
|
||||||
// than what fits in an unsigned 32-bit integer.
|
// than what fits in an unsigned 32-bit integer.
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#define V8_CONVERSIONS_H_
|
#define V8_CONVERSIONS_H_
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "double.h"
|
|
||||||
|
|
||||||
namespace v8 {
|
namespace v8 {
|
||||||
namespace internal {
|
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
|
// The fast double-to-(unsigned-)int conversion routine does not guarantee
|
||||||
// rounding towards zero.
|
// rounding towards zero.
|
||||||
// For NaN and values outside the int range, return INT_MIN or INT_MAX.
|
// For NaN and values outside the int range, return INT_MIN or INT_MAX.
|
||||||
|
Loading…
Reference in New Issue
Block a user