Revision: 12221 Author: [email protected] Date: Mon Jul 30 02:55:26 2012 Log: Actually fix build.
[email protected] BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10825074 http://code.google.com/p/v8/source/detail?r=12221 Modified: /branches/bleeding_edge/src/conversions-inl.h /branches/bleeding_edge/src/conversions.h ======================================= --- /branches/bleeding_edge/src/conversions-inl.h Mon Jul 23 03:33:41 2012 +++ /branches/bleeding_edge/src/conversions-inl.h Mon Jul 30 02:55:26 2012 @@ -49,6 +49,11 @@ inline double JunkStringValue() { return BitCast<double, uint64_t>(kQuietNaNMask); } + + +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 ======================================= --- /branches/bleeding_edge/src/conversions.h Mon Jul 30 02:36:03 2012 +++ /branches/bleeding_edge/src/conversions.h Mon Jul 30 02:55:26 2012 @@ -29,7 +29,6 @@ #define V8_CONVERSIONS_H_ #include "utils.h" -#include "double.h" namespace v8 { namespace internal { @@ -51,11 +50,6 @@ || (radix > 10 && x >= 'a' && x < 'a' + radix - 10) || (radix > 10 && x >= 'A' && x < 'A' + radix - 10); } - - -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 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
