Use range loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208218 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-05-07 14:53:32 +00:00
parent 355e0a6460
commit 6cf16a40d3

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 {