Oops - isRegLiveIntoSuccessor is used in non-assert builds now. Remove NDEBUG guards.
authorLang Hames <lhames@gmail.com>
Fri, 17 Feb 2012 00:51:32 +0000 (00:51 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 17 Feb 2012 00:51:32 +0000 (00:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150771 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index 2fce0067872cbd3523b9fb9d67abe6830a49cff8..8b60fcaa2ead671be405142d3e579ab0d9573439 100644 (file)
@@ -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,