Index: src/platform-linux.cc |
diff --git a/src/platform-linux.cc b/src/platform-linux.cc |
index ff1ecb13ce8c55e32f28fceca6a510022456a417..7e8a5586f80e45b8529e77e8bcff7ab8a38aeae9 100644 |
--- a/src/platform-linux.cc |
+++ b/src/platform-linux.cc |
@@ -177,7 +177,8 @@ LinuxKernelMemoryBarrierFunc pLinuxKernelMemoryBarrier __attribute__((weak)) = |
#endif |
void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) { |
-#if defined(V8_TARGET_ARCH_ARM) && defined(__arm__) // don't use on a simulator |
+#if defined(V8_TARGET_ARCH_ARM) && defined(__arm__) |
+ // Only use on ARM hardware. |
pLinuxKernelMemoryBarrier(); |
#else |
__asm__ __volatile__("" : : : "memory"); |