aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-02-17 00:51:32 +0000
committerLang Hames <lhames@gmail.com>2012-02-17 00:51:32 +0000
commit5d0827582ff5b22d92af7a24d61584c73d0bb8fa (patch)
tree60d25d516113a9a35f1ba4a26cea5159440645a1 /lib/CodeGen/LiveIntervalAnalysis.cpp
parentc2e08db4e5a8e1b3c253fb07c6eb736dfb66fe59 (diff)
Oops - isRegLiveIntoSuccessor is used in non-assert builds now. Remove NDEBUG guards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150771 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 2fce006787..8b60fcaa2e 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -359,7 +359,6 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
DEBUG(dbgs() << '\n');
}
-#ifndef NDEBUG
static bool isRegLiveIntoSuccessor(const MachineBasicBlock *MBB, unsigned Reg) {
for (MachineBasicBlock::const_succ_iterator SI = MBB->succ_begin(),
SE = MBB->succ_end();
@@ -370,7 +369,6 @@ static bool isRegLiveIntoSuccessor(const MachineBasicBlock *MBB, unsigned Reg) {
}
return false;
}
-#endif
void LiveIntervals::handlePhysicalRegisterDef(MachineBasicBlock *MBB,
MachineBasicBlock::iterator mi,