Reviewers: Sven Panne,

Description:
Actually fix build.


[email protected]
BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/10825074/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/conversions-inl.h
  M src/conversions.h


Index: src/conversions-inl.h
diff --git a/src/conversions-inl.h b/src/conversions-inl.h
index a98680fd80e85ea1ef3a1331974500815c502312..bf2232562e7946f2636d4ae8fcbcdda149a9551c 100644
--- a/src/conversions-inl.h
+++ b/src/conversions-inl.h
@@ -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.
Index: src/conversions.h
diff --git a/src/conversions.h b/src/conversions.h
index d9326e679715a88eee88a463f45c1c8231c01ecb..1fbb5f11821864320cc95843ccfd41bd89c705c2 100644
--- a/src/conversions.h
+++ b/src/conversions.h
@@ -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.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to