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

Unified Diff: src/platform-solaris.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-openbsd.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-solaris.cc
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
index 4248ea214faa9b7d2c23ec4527d668d4ce542e2c..cb72b51b89892ff382cb6b39361bdb82d4241b4d 100644
--- a/src/platform-solaris.cc
+++ b/src/platform-solaris.cc
@@ -110,7 +110,7 @@ int OS::ActivationFrameAlignment() {
void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
- __asm__ __volatile__("" : : : "memory");
+ ATOMICOPS_COMPILER_BARRIER();
*ptr = value;
}
« no previous file with comments | « src/platform-openbsd.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698