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 | 96cbfbbeaf34d488dc9003aa9aab920c2c841daa (patch) | |
| tree | 7ccd35b7e62a9e98f3603a684cc964fc350d0daf /llvm/lib/CodeGen | |
| parent | 993771325209a07e2cff2ee842d7077deda6a616 (diff) | |
| download | bcm5719-llvm-96cbfbbeaf34d488dc9003aa9aab920c2c841daa.tar.gz bcm5719-llvm-96cbfbbeaf34d488dc9003aa9aab920c2c841daa.zip | |
Fix debug info to not print out recently freed memory.
llvm-svn: 22529
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index b242a9c6942..2050115962a 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/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"); |

