mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-23 01:25:32 +00:00
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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user