summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveStackAnalysis.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-05-25 21:26:32 +0000
committerMatthias Braun <matze@braunis.de>2017-05-25 21:26:32 +0000
commit1527baab0ca1e449340d09a33a32cd01053f3241 (patch)
tree03842ea734eb7882b9512ae00a6894aecbf2c7e2 /llvm/lib/CodeGen/LiveStackAnalysis.cpp
parent2897e0306efe62703bad8e1234334fefccf2ae37 (diff)
downloadbcm5719-llvm-1527baab0ca1e449340d09a33a32cd01053f3241.tar.gz
bcm5719-llvm-1527baab0ca1e449340d09a33a32cd01053f3241.zip
CodeGen: Rename DEBUG_TYPE to match passnames
Rename the DEBUG_TYPE to match the names of corresponding passes where it makes sense. Also establish the pattern of simply referencing DEBUG_TYPE instead of repeating the passname where possible. llvm-svn: 303921
Diffstat (limited to 'llvm/lib/CodeGen/LiveStackAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveStackAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveStackAnalysis.cpp b/llvm/lib/CodeGen/LiveStackAnalysis.cpp
index dbf1f96102d..b51f8b0aa6b 100644
--- a/llvm/lib/CodeGen/LiveStackAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveStackAnalysis.cpp
@@ -25,10 +25,10 @@ using namespace llvm;
#define DEBUG_TYPE "livestacks"
char LiveStacks::ID = 0;
-INITIALIZE_PASS_BEGIN(LiveStacks, "livestacks",
+INITIALIZE_PASS_BEGIN(LiveStacks, DEBUG_TYPE,
"Live Stack Slot Analysis", false, false)
INITIALIZE_PASS_DEPENDENCY(SlotIndexes)
-INITIALIZE_PASS_END(LiveStacks, "livestacks",
+INITIALIZE_PASS_END(LiveStacks, DEBUG_TYPE,
"Live Stack Slot Analysis", false, false)
char &llvm::LiveStacksID = LiveStacks::ID;
OpenPOWER on IntegriCloud