Revision: 15500
Author:   [email protected]
Date:     Fri Jul  5 01:15:32 2013
Log: Merge two lines into one for V8_TARGET_ARCH_${arch} and V8_HOST_ARCH_${arch}

[email protected]

Review URL: https://codereview.chromium.org/18575003

Patch from Haitao Feng <[email protected]>.
http://code.google.com/p/v8/source/detail?r=15500

Modified:
 /branches/bleeding_edge/src/atomicops.h
 /branches/bleeding_edge/src/strtod.cc

=======================================
--- /branches/bleeding_edge/src/atomicops.h     Fri Jun 28 08:34:48 2013
+++ /branches/bleeding_edge/src/atomicops.h     Fri Jul  5 01:15:32 2013
@@ -153,14 +153,11 @@
 // Include our platform specific implementation.
 #if defined(THREAD_SANITIZER)
 #include "atomicops_internals_tsan.h"
-#elif defined(_MSC_VER) && \
-  (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64)
+#elif defined(_MSC_VER) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64)
 #include "atomicops_internals_x86_msvc.h"
-#elif defined(__APPLE__) && \
-  (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64)
+#elif defined(__APPLE__) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64)
 #include "atomicops_internals_x86_macosx.h"
-#elif defined(__GNUC__) && \
-  (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64)
+#elif defined(__GNUC__) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64)
 #include "atomicops_internals_x86_gcc.h"
 #elif defined(__GNUC__) && V8_HOST_ARCH_ARM
 #include "atomicops_internals_arm_gcc.h"
=======================================
--- /branches/bleeding_edge/src/strtod.cc       Fri Jun 28 08:34:48 2013
+++ /branches/bleeding_edge/src/strtod.cc       Fri Jul  5 01:15:32 2013
@@ -175,8 +175,7 @@
 static bool DoubleStrtod(Vector<const char> trimmed,
                          int exponent,
                          double* result) {
-#if (V8_TARGET_ARCH_IA32 || defined(USE_SIMULATOR)) \
-    && !defined(_MSC_VER)
+#if (V8_TARGET_ARCH_IA32 || defined(USE_SIMULATOR)) && !defined(_MSC_VER)
   // On x86 the floating-point stack can be 64 or 80 bits wide. If it is
// 80 bits wide (as is the case on Linux) then double-rounding occurs and the
   // result is not accurate.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to