mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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:
parent
355e0a6460
commit
6cf16a40d3
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user