Revert Edwin's change that is breaking MultiSource/Applications/ClamAV/clamscan.

--- Reverse-merging r99400 into '.':
D    test/CodeGen/Generic/2010-03-24-liveintervalleak.ll
U    lib/CodeGen/LiveIntervalAnalysis.cpp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson
2010-03-24 20:25:25 +00:00
parent eb8c6459fc
commit d6a6b3b756
2 changed files with 1 additions and 117 deletions

View File

@@ -85,10 +85,8 @@ void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const {
void LiveIntervals::releaseMemory() {
// Free the live intervals themselves.
for (DenseMap<unsigned, LiveInterval*>::iterator I = r2iMap_.begin(),
E = r2iMap_.end(); I != E; ++I) {
I->second->clear();
E = r2iMap_.end(); I != E; ++I)
delete I->second;
}
r2iMap_.clear();