From: Ryan Dahl Date: Thu, 27 May 2010 01:05:42 +0000 (-0700) Subject: Fix Solaris V8 build X-Git-Tag: v0.1.97~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31854c799081ba5d39cc0a2d3de0e7bb5beea896;p=platform%2Fupstream%2Fnodejs.git Fix Solaris V8 build Patch submitted to V8: http://codereview.chromium.org/2282003/show --- diff --git a/deps/v8/src/platform-solaris.cc b/deps/v8/src/platform-solaris.cc index 0ae1ecf..6d97ed7 100644 --- a/deps/v8/src/platform-solaris.cc +++ b/deps/v8/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(floor(time/msPerSecond));