From 5d0827582ff5b22d92af7a24d61584c73d0bb8fa Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 17 Feb 2012 00:51:32 +0000 Subject: [PATCH] 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 --- lib/CodeGen/LiveIntervalAnalysis.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 2fce0067872..8b60fcaa2ea 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,