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

Unified Diff: src/base/atomicops_internals_tsan.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_mips_gcc.h ('k') | src/base/atomicops_internals_x86_gcc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/atomicops_internals_tsan.h
diff --git a/src/atomicops_internals_tsan.h b/src/base/atomicops_internals_tsan.h
similarity index 98%
rename from src/atomicops_internals_tsan.h
rename to src/base/atomicops_internals_tsan.h
index e100812499c7930643b7092a395a6b87031a32e3..363668d86d3c7b65b7656472d538aaf5ee076b7f 100644
--- a/src/atomicops_internals_tsan.h
+++ b/src/base/atomicops_internals_tsan.h
@@ -6,11 +6,11 @@
// This file is an internal atomic implementation for compiler-based
// ThreadSanitizer. Use base/atomicops.h instead.
-#ifndef V8_ATOMICOPS_INTERNALS_TSAN_H_
-#define V8_ATOMICOPS_INTERNALS_TSAN_H_
+#ifndef V8_BASE_ATOMICOPS_INTERNALS_TSAN_H_
+#define V8_BASE_ATOMICOPS_INTERNALS_TSAN_H_
namespace v8 {
-namespace internal {
+namespace base {
#ifndef TSAN_INTERFACE_ATOMIC_H
#define TSAN_INTERFACE_ATOMIC_H
@@ -371,9 +371,9 @@ inline void MemoryBarrier() {
__tsan_atomic_thread_fence(__tsan_memory_order_seq_cst);
}
-} // namespace internal
+} // namespace base
} // namespace v8
#undef ATOMICOPS_COMPILER_BARRIER
-#endif // V8_ATOMICOPS_INTERNALS_TSAN_H_
+#endif // V8_BASE_ATOMICOPS_INTERNALS_TSAN_H_
« no previous file with comments | « src/base/atomicops_internals_mips_gcc.h ('k') | src/base/atomicops_internals_x86_gcc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698