summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenSchedule.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 03:06:00 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 03:06:00 +0000
commit97acce29f0c811a36cbe6e5031a4a20a76a589da (patch)
treee8f9e7002ca369922e0b17ded4969055ba215060 /llvm/utils/TableGen/CodeGenSchedule.cpp
parentf58e376d233f1a9d2044f0a8a5152abe8dbf31a5 (diff)
downloadbcm5719-llvm-97acce29f0c811a36cbe6e5031a4a20a76a589da.tar.gz
bcm5719-llvm-97acce29f0c811a36cbe6e5031a4a20a76a589da.zip
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, TableGen edition. llvm-svn: 206846
Diffstat (limited to 'llvm/utils/TableGen/CodeGenSchedule.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenSchedule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeGenSchedule.cpp b/llvm/utils/TableGen/CodeGenSchedule.cpp
index 95d31862ad7..79d60ac171b 100644
--- a/llvm/utils/TableGen/CodeGenSchedule.cpp
+++ b/llvm/utils/TableGen/CodeGenSchedule.cpp
@@ -12,8 +12,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "subtarget-emitter"
-
#include "CodeGenSchedule.h"
#include "CodeGenTarget.h"
#include "llvm/ADT/STLExtras.h"
@@ -23,6 +21,8 @@
using namespace llvm;
+#define DEBUG_TYPE "subtarget-emitter"
+
#ifndef NDEBUG
static void dumpIdxVec(const IdxVec &V) {
for (unsigned i = 0, e = V.size(); i < e; ++i) {
OpenPOWER on IntegriCloud