Fix tests on ARM simulator.

TBR=sgjesse@chromium.org

Review URL: http://codereview.chromium.org/2124017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4707 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mikhail.naganov@gmail.com 2010-05-22 06:35:27 +00:00
parent decd0fed78
commit 6caca4e885

View File

@ -177,7 +177,7 @@ LinuxKernelMemoryBarrierFunc pLinuxKernelMemoryBarrier __attribute__((weak)) =
#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");