Reviewers: ulan,
Description:
TSan: Move definition of AtomicOps_x86CPUFeatureStruct into v8::internal
namespace
This matches other atomicops_internals_* files.
Please review this at https://codereview.chromium.org/21534002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/atomicops_internals_tsan.h
Index: src/atomicops_internals_tsan.h
diff --git a/src/atomicops_internals_tsan.h b/src/atomicops_internals_tsan.h
index
e52c26c2fe2ee3e0051ff1a724285a7d439274aa..b5162bad9f6779996d423af7de398521f97369d8
100644
--- a/src/atomicops_internals_tsan.h
+++ b/src/atomicops_internals_tsan.h
@@ -32,6 +32,12 @@
#ifndef V8_ATOMICOPS_INTERNALS_TSAN_H_
#define V8_ATOMICOPS_INTERNALS_TSAN_H_
+namespace v8 {
+namespace internal {
+
+#ifndef TSAN_INTERFACE_ATOMIC_H
+#define TSAN_INTERFACE_ATOMIC_H
+
// This struct is not part of the public API of this module; clients may
not
// use it. (However, it's exported via BASE_EXPORT because clients
implicitly
// do use it at link time by inlining these functions.)
@@ -47,12 +53,6 @@ extern struct AtomicOps_x86CPUFeatureStruct
#define ATOMICOPS_COMPILER_BARRIER() __asm__
__volatile__("" : : : "memory")
-namespace v8 {
-namespace internal {
-
-#ifndef TSAN_INTERFACE_ATOMIC_H
-#define TSAN_INTERFACE_ATOMIC_H
-
#ifdef __cplusplus
extern "C" {
#endif
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.