Reviewers: Michail Naganov, Søren Gjesse,

Message:
r4706 broke the Solaris build due to the new OS::ReleaseStore function. This
fixes it.

Description:
Implement OS::ReleaseStore for Solaris

Please review this at http://codereview.chromium.org/2282003/show

Affected files:
  M src/platform-solaris.cc


Index: src/platform-solaris.cc
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
index 0ae1ecf452bbcf9c1b9ba240f89eb37825e0cf0e..6d97ed7e3ef091a355c171432134ed4cdfdf9f7d 100644
--- a/src/platform-solaris.cc
+++ b/src/platform-solaris.cc
@@ -107,6 +107,12 @@ int OS::ActivationFrameAlignment() {
 }


+void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
+  __asm__ __volatile__("" : : : "memory");
+  *ptr = value;
+}
+
+
 const char* OS::LocalTimezone(double time) {
   if (isnan(time)) return "";
   time_t tv = static_cast<time_t>(floor(time/msPerSecond));


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to