Move r2iMap_ over to DenseMap from std::map.
llvm-svn: 54765
This commit is contained in:
@@ -72,7 +72,7 @@ void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
|
||||
void LiveIntervals::releaseMemory() {
|
||||
// Free the live intervals themselves.
|
||||
for (std::map<unsigned, LiveInterval*>::iterator I = r2iMap_.begin(),
|
||||
for (DenseMap<unsigned, LiveInterval*>::iterator I = r2iMap_.begin(),
|
||||
E = r2iMap_.end(); I != E; ++I)
|
||||
delete I->second;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user