From cef21c354408980eab7922c35af7523b08b5bec9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 27 Jul 2005 23:11:25 +0000 Subject: [PATCH] Fix debug info to not print out recently freed memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22529 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/LiveIntervalAnalysis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index b242a9c6942..2050115962a 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -671,6 +671,7 @@ void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) { if ((TriviallyJoinable || IntB.joinable(IntA, MIDefIdx)) && !overlapsAliases(&IntA, &IntB)) { IntB.join(IntA, MIDefIdx); + DEBUG(std::cerr << "Joined. Result = " << IntB << "\n"); if (!MRegisterInfo::isPhysicalRegister(regA)) { r2iMap_.erase(regA); @@ -683,7 +684,6 @@ void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) { IntA.swap(IntB); r2iMap_.erase(regB); } - DEBUG(std::cerr << "Joined. Result = " << IntB << "\n"); ++numJoins; } else { DEBUG(std::cerr << "Interference!\n");