Reviewers: William Hesse, Description: Add ReleaseStore function on OpenBSD.
Please review this at http://codereview.chromium.org/2916001/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/platform-openbsd.cc Index: src/platform-openbsd.cc =================================================================== --- src/platform-openbsd.cc (revision 5026) +++ src/platform-openbsd.cc (working copy) @@ -83,6 +83,12 @@ } +void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) { + __asm__ __volatile__("" : : : "memory"); + *ptr = value; +} + + uint64_t OS::CpuFeaturesImpliedByPlatform() { return 0; // OpenBSD runs on anything. } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
