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

Unified Diff: src/platform-freebsd.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-cygwin.cc ('k') | src/platform-linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-freebsd.cc
diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc
index 511759c485e245891dd41a2fa792128e91915f91..5f01225162452bab1573e210066f0a39144c3c38 100644
--- a/src/platform-freebsd.cc
+++ b/src/platform-freebsd.cc
@@ -86,7 +86,7 @@ void OS::PostSetUp() {
void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
- __asm__ __volatile__("" : : : "memory");
+ ATOMICOPS_COMPILER_BARRIER();
*ptr = value;
}
« no previous file with comments | « src/platform-cygwin.cc ('k') | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698