| Index: third_party/tcmalloc/chromium/src/base/atomicops.h
|
| ===================================================================
|
| --- third_party/tcmalloc/chromium/src/base/atomicops.h (revision 88335)
|
| +++ third_party/tcmalloc/chromium/src/base/atomicops.h (working copy)
|
| @@ -86,14 +86,18 @@
|
| // TODO(csilvers): figure out ARCH_PIII/ARCH_K8 (perhaps via ./configure?)
|
| // ------------------------------------------------------------------------
|
|
|
| +#include "base/arm_instruction_set_select.h"
|
| +
|
| // TODO(csilvers): match piii, not just __i386. Also, match k8
|
| #if defined(__MACH__) && defined(__APPLE__)
|
| #include "base/atomicops-internals-macosx.h"
|
| -#elif defined(_MSC_VER) && defined(_M_IX86)
|
| -#include "base/atomicops-internals-x86-msvc.h"
|
| -#elif defined(__MINGW32__) && defined(__i386__)
|
| -#include "base/atomicops-internals-x86-msvc.h"
|
| -#elif defined(__GNUC__) && (defined(__i386) || defined(ARCH_K8))
|
| +#elif defined(__GNUC__) && defined(ARMV6)
|
| +#include "base/atomicops-internals-arm-v6plus.h"
|
| +#elif defined(ARMV3)
|
| +#include "base/atomicops-internals-arm-generic.h"
|
| +#elif defined(_WIN32)
|
| +#include "base/atomicops-internals-windows.h"
|
| +#elif defined(__GNUC__) && (defined(__i386) || defined(__x86_64__))
|
| #include "base/atomicops-internals-x86.h"
|
| #elif defined(__linux__) && defined(__PPC__)
|
| #include "base/atomicops-internals-linuxppc.h"
|
|
|