Revision: 4707
Author: [email protected]
Date: Fri May 21 23:35:27 2010
Log: Fix tests on ARM simulator.

[email protected]

Review URL: http://codereview.chromium.org/2124017
http://code.google.com/p/v8/source/detail?r=4707

Modified:
 /branches/bleeding_edge/src/platform-linux.cc

=======================================
--- /branches/bleeding_edge/src/platform-linux.cc       Fri May 21 22:27:19 2010
+++ /branches/bleeding_edge/src/platform-linux.cc       Fri May 21 23:35:27 2010
@@ -177,7 +177,7 @@
 #endif

 void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
-#ifdef V8_TARGET_ARCH_ARM
+#if defined(V8_TARGET_ARCH_ARM) && defined(__arm__) // don't use on a simulator
   pLinuxKernelMemoryBarrier();
 #else
   __asm__ __volatile__("" : : : "memory");

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

Reply via email to