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

Unified Diff: src/base/atomicops_internals_x86_msvc.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_x86_gcc.cc ('k') | src/base/lazy-instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/atomicops_internals_x86_msvc.h
diff --git a/src/atomicops_internals_x86_msvc.h b/src/base/atomicops_internals_x86_msvc.h
similarity index 96%
rename from src/atomicops_internals_x86_msvc.h
rename to src/base/atomicops_internals_x86_msvc.h
index b72f7751fbcaac4d20c49c93edb269aa54a98158..adc40318e92a7cfd2042cab97d9b9008ad4e1576 100644
--- a/src/atomicops_internals_x86_msvc.h
+++ b/src/base/atomicops_internals_x86_msvc.h
@@ -4,11 +4,11 @@
// This file is an internal atomic implementation, use atomicops.h instead.
-#ifndef V8_ATOMICOPS_INTERNALS_X86_MSVC_H_
-#define V8_ATOMICOPS_INTERNALS_X86_MSVC_H_
+#ifndef V8_BASE_ATOMICOPS_INTERNALS_X86_MSVC_H_
+#define V8_BASE_ATOMICOPS_INTERNALS_X86_MSVC_H_
#include "src/base/macros.h"
-#include "src/win32-headers.h"
+#include "src/base/win32-headers.h"
#if defined(V8_HOST_ARCH_64_BIT)
// windows.h #defines this (only on x64). This causes problems because the
@@ -20,7 +20,7 @@
#endif
namespace v8 {
-namespace internal {
+namespace base {
inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
Atomic32 old_value,
@@ -197,6 +197,6 @@ inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr,
#endif // defined(_WIN64)
-} } // namespace v8::internal
+} } // namespace v8::base
-#endif // V8_ATOMICOPS_INTERNALS_X86_MSVC_H_
+#endif // V8_BASE_ATOMICOPS_INTERNALS_X86_MSVC_H_
« no previous file with comments | « src/base/atomicops_internals_x86_gcc.cc ('k') | src/base/lazy-instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698