summaryrefslogtreecommitdiff
path: root/lib/Target/ARM64/ARM64SelectionDAGInfo.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 02:41:26 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 02:41:26 +0000
commit42e8630239989fd40820975c361554546c1ccc2d (patch)
treec1377052e397c55a0070f28f70bd020f5154bc09 /lib/Target/ARM64/ARM64SelectionDAGInfo.cpp
parent3d5cd01d377b939dabf55ddff67a2d4bd57bbb63 (diff)
downloadllvm-42e8630239989fd40820975c361554546c1ccc2d.tar.gz
llvm-42e8630239989fd40820975c361554546c1ccc2d.tar.bz2
llvm-42e8630239989fd40820975c361554546c1ccc2d.tar.xz
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, lib/Target/... edition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM64/ARM64SelectionDAGInfo.cpp')
-rw-r--r--lib/Target/ARM64/ARM64SelectionDAGInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM64/ARM64SelectionDAGInfo.cpp b/lib/Target/ARM64/ARM64SelectionDAGInfo.cpp
index 79d507f7da..49c3c0c1bf 100644
--- a/lib/Target/ARM64/ARM64SelectionDAGInfo.cpp
+++ b/lib/Target/ARM64/ARM64SelectionDAGInfo.cpp
@@ -11,10 +11,11 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "arm64-selectiondag-info"
#include "ARM64TargetMachine.h"
using namespace llvm;
+#define DEBUG_TYPE "arm64-selectiondag-info"
+
ARM64SelectionDAGInfo::ARM64SelectionDAGInfo(const TargetMachine &TM)
: TargetSelectionDAGInfo(TM),
Subtarget(&TM.getSubtarget<ARM64Subtarget>()) {}