summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2011-12-08 22:36:41 +0000
committerJason Molenda <jmolenda@apple.com>2011-12-08 22:36:41 +0000
commit10c480a4610c049d412a82f6dbfb0c9039198a01 (patch)
tree548d7aabc633f62d8d1f9d77b0f660303edf15da /lldb/tools/debugserver/source/MacOSX
parentfe970725cc04f691daf2f9c366011caf0b40006a (diff)
downloadbcm5719-llvm-10c480a4610c049d412a82f6dbfb0c9039198a01.tar.gz
bcm5719-llvm-10c480a4610c049d412a82f6dbfb0c9039198a01.zip
Move CPUHasAVX() prototype out of an #ifdef block of code.
llvm-svn: 146198
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
index 0b105634a56..dab4cbc59a2 100644
--- a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
@@ -20,6 +20,8 @@
#include "MachThread.h"
#include "MachProcess.h"
+extern "C" bool CPUHasAVX(); // Defined over in DNBArchImplX86_64.cpp
+
#if defined (LLDB_DEBUGSERVER_RELEASE) || defined (LLDB_DEBUGSERVER_DEBUG)
enum debugState {
debugStateUnknown,
@@ -27,8 +29,6 @@ enum debugState {
debugStateOn
};
-extern "C" bool CPUHasAVX(); // Defined over in DNBArchImplX86_64.cpp
-
static debugState sFPUDebugState = debugStateUnknown;
static debugState sAVXForceState = debugStateUnknown;
OpenPOWER on IntegriCloud