Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: src/platform-cygwin.cc

Issue 10539044: define ATOMICOPS_COMPILER_BARRIER in platform.h (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform.h ('k') | src/platform-freebsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-cygwin.cc
diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc
index 089ea38d9a1bb2e0eb11de6d6f1551b0a5268ee3..3e9d272a856c38264f1311e48259f88281378a29 100644
--- a/src/platform-cygwin.cc
+++ b/src/platform-cygwin.cc
@@ -79,7 +79,7 @@ int OS::ActivationFrameAlignment() {
void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
- __asm__ __volatile__("" : : : "memory");
+ ATOMICOPS_COMPILER_BARRIER();
// An x86 store acts as a release barrier.
*ptr = value;
}
« no previous file with comments | « src/platform.h ('k') | src/platform-freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698