From 865582e02bfa6d69a09b88efb486dd91c7f1a053 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Fri, 2 Aug 2013 08:52:59 +0000 Subject: [PATCH] TSan: Move definition of AtomicOps_x86CPUFeatureStruct into v8::internal namespace This matches other atomicops_internals_* files. R=ulan@chromium.org Review URL: https://codereview.chromium.org/21534002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16019 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/atomicops_internals_tsan.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/atomicops_internals_tsan.h b/src/atomicops_internals_tsan.h index e52c26c..b5162ba 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 -- 2.7.4