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 | 42e8630239989fd40820975c361554546c1ccc2d (patch) | |
tree | c1377052e397c55a0070f28f70bd020f5154bc09 /lib/Target/Hexagon/HexagonNewValueJump.cpp | |
parent | 3d5cd01d377b939dabf55ddff67a2d4bd57bbb63 (diff) | |
download | llvm-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/Hexagon/HexagonNewValueJump.cpp')
-rw-r--r-- | lib/Target/Hexagon/HexagonNewValueJump.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Hexagon/HexagonNewValueJump.cpp b/lib/Target/Hexagon/HexagonNewValueJump.cpp index 3e238bf828..d829dbc82a 100644 --- a/lib/Target/Hexagon/HexagonNewValueJump.cpp +++ b/lib/Target/Hexagon/HexagonNewValueJump.cpp @@ -21,7 +21,6 @@ // // //===----------------------------------------------------------------------===// -#define DEBUG_TYPE "hexagon-nvj" #include "llvm/PassSupport.h" #include "Hexagon.h" #include "HexagonInstrInfo.h" @@ -47,6 +46,8 @@ #include <map> using namespace llvm; +#define DEBUG_TYPE "hexagon-nvj" + STATISTIC(NumNVJGenerated, "Number of New Value Jump Instructions created"); static cl::opt<int> |