Fix Solaris V8 build

Patch submitted to V8: http://codereview.chromium.org/2282003/show
This commit is contained in:
Ryan Dahl 2010-05-26 18:05:42 -07:00
parent d89de07758
commit 31854c7990

View File

@ -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) { const char* OS::LocalTimezone(double time) {
if (isnan(time)) return ""; if (isnan(time)) return "";
time_t tv = static_cast<time_t>(floor(time/msPerSecond)); time_t tv = static_cast<time_t>(floor(time/msPerSecond));