summaryrefslogtreecommitdiff
path: root/deps/v8/src/platform-freebsd.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-05-31 11:52:20 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-05-31 11:52:20 -0700
commitf86a214357ce4e54d0d5c56c7db295ec745814c3 (patch)
tree2c6954837f85bc586ba348678322267a26a14a73 /deps/v8/src/platform-freebsd.cc
parent0c1aa36835fa6a3557843dcbc6ed6714d353a783 (diff)
downloadnode-new-f86a214357ce4e54d0d5c56c7db295ec745814c3.tar.gz
Upgrade to V8 2.2.13
Diffstat (limited to 'deps/v8/src/platform-freebsd.cc')
-rw-r--r--deps/v8/src/platform-freebsd.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/platform-freebsd.cc b/deps/v8/src/platform-freebsd.cc
index 72fe088d8a..9b8b20675f 100644
--- a/deps/v8/src/platform-freebsd.cc
+++ b/deps/v8/src/platform-freebsd.cc
@@ -84,6 +84,12 @@ void OS::Setup() {
}
+void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
+ __asm__ __volatile__("" : : : "memory");
+ *ptr = value;
+}
+
+
uint64_t OS::CpuFeaturesImpliedByPlatform() {
return 0; // FreeBSD runs on anything.
}