Use range loop.

llvm-svn: 208218
This commit is contained in:
Rafael Espindola 2014-05-07 14:53:32 +00:00
parent 847501f92e
commit de3e36be38
1 changed files with 2 additions and 3 deletions

View File

@ -65,9 +65,8 @@ MipsFunctionInfo::~MipsFunctionInfo() {
++I)
delete I->getValue();
for (ValueMap<const GlobalValue *, const MipsCallEntry *>::iterator
I = GlobalCallEntries.begin(), E = GlobalCallEntries.end(); I != E; ++I)
delete I->second;
for (const auto &Entry : GlobalCallEntries)
delete Entry.second;
}
bool MipsFunctionInfo::globalBaseRegSet() const {