diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 02:41:26 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 02:41:26 +0000 |
| commit | 84e68b2994470dcdf67a6bac509c9790d1ae9782 (patch) | |
| tree | ca2a6eaf79c4ae7e6a8a7b863822be447141ae48 /llvm/lib/Target/Mips/MipsJITInfo.cpp | |
| parent | ff55593c40b1f589494a9ce1b6556a7567c6083c (diff) | |
| download | bcm5719-llvm-84e68b2994470dcdf67a6bac509c9790d1ae9782.tar.gz bcm5719-llvm-84e68b2994470dcdf67a6bac509c9790d1ae9782.zip | |
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, lib/Target/...
edition.
llvm-svn: 206842
Diffstat (limited to 'llvm/lib/Target/Mips/MipsJITInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsJITInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsJITInfo.cpp b/llvm/lib/Target/Mips/MipsJITInfo.cpp index d76cb1da2dd..2072488206a 100644 --- a/llvm/lib/Target/Mips/MipsJITInfo.cpp +++ b/llvm/lib/Target/Mips/MipsJITInfo.cpp @@ -11,7 +11,6 @@ // //===----------------------------------------------------------------------===// -#define DEBUG_TYPE "jit" #include "MipsJITInfo.h" #include "MipsInstrInfo.h" #include "MipsRelocations.h" @@ -25,6 +24,8 @@ #include <cstdlib> using namespace llvm; +#define DEBUG_TYPE "jit" + void MipsJITInfo::replaceMachineCodeForFunction(void *Old, void *New) { unsigned NewAddr = (intptr_t)New; |

