Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: src/base/atomicops_internals_mac.h

Issue 316133002: Move atomic ops and related files to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/base/atomicops_internals_atomicword_compat.h ('k') | src/base/atomicops_internals_mips_gcc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/atomicops_internals_mac.h
diff --git a/src/atomicops_internals_mac.h b/src/base/atomicops_internals_mac.h
similarity index 97%
rename from src/atomicops_internals_mac.h
rename to src/base/atomicops_internals_mac.h
index 5e6abe4a46da891f495554076912411387453b29..a046872e4d0fbff487fbf89770b4fe92d2d2d031 100644
--- a/src/atomicops_internals_mac.h
+++ b/src/base/atomicops_internals_mac.h
@@ -4,13 +4,13 @@
// This file is an internal atomic implementation, use atomicops.h instead.
-#ifndef V8_ATOMICOPS_INTERNALS_MAC_H_
-#define V8_ATOMICOPS_INTERNALS_MAC_H_
+#ifndef V8_BASE_ATOMICOPS_INTERNALS_MAC_H_
+#define V8_BASE_ATOMICOPS_INTERNALS_MAC_H_
#include <libkern/OSAtomic.h>
namespace v8 {
-namespace internal {
+namespace base {
inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
Atomic32 old_value,
@@ -199,6 +199,6 @@ inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
#endif // defined(__LP64__)
-} } // namespace v8::internal
+} } // namespace v8::base
-#endif // V8_ATOMICOPS_INTERNALS_MAC_H_
+#endif // V8_BASE_ATOMICOPS_INTERNALS_MAC_H_
« no previous file with comments | « src/base/atomicops_internals_atomicword_compat.h ('k') | src/base/atomicops_internals_mips_gcc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698