Revision: 11201
Author:   [email protected]
Date:     Fri Mar 30 13:48:32 2012
Log:      Fix broken build on Windows due to r11198.

This also fixes a style issue in lazy-instance.h.

Review URL: https://chromiumcodereview.appspot.com/9960006
Patch from Philippe Liard <[email protected]>.
http://code.google.com/p/v8/source/detail?r=11201

Modified:
 /branches/bleeding_edge/src/lazy-instance.h
 /branches/bleeding_edge/src/platform-win32.cc

=======================================
--- /branches/bleeding_edge/src/lazy-instance.h Fri Mar 30 07:30:46 2012
+++ /branches/bleeding_edge/src/lazy-instance.h Fri Mar 30 13:48:32 2012
@@ -191,7 +191,7 @@
         &once_,
         // Casts to void* are needed here to avoid breaking strict aliasing
         // rules.
-        reinterpret_cast<void (*)(void*)>(&InitInstance),
+        reinterpret_cast<void(*)(void*)>(&InitInstance),  // NOLINT
         reinterpret_cast<void*>(&storage_));
   }

=======================================
--- /branches/bleeding_edge/src/platform-win32.cc       Fri Mar 30 07:30:46 2012
+++ /branches/bleeding_edge/src/platform-win32.cc       Fri Mar 30 13:48:32 2012
@@ -214,7 +214,9 @@


 void MathSetup() {
+#ifdef _WIN64
   init_modulo_function();
+#endif
   init_fast_sin_function();
   init_fast_cos_function();
   init_fast_tan_function();

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

Reply via email to