diff options
author | Chris Lattner <sabre@nondot.org> | 2005-07-27 23:11:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-07-27 23:11:25 +0000 |
commit | cef21c354408980eab7922c35af7523b08b5bec9 (patch) | |
tree | 96fbd3b9999936966c2e6e94121203749327aebe /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 8e7a70976deee78a84099b916591d40f7a1cdc34 (diff) |
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
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index b242a9c694..2050115962 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"); |