[C++11,ARM64] Range based for loops in pseudo expansion.

No functional change intended.

llvm-svn: 205441
This commit is contained in:
Jim Grosbach 2014-04-02 18:00:46 +00:00
parent 673825ebac
commit f39d752b03
1 changed files with 2 additions and 3 deletions

View File

@ -726,9 +726,8 @@ bool ARM64ExpandPseudo::runOnMachineFunction(MachineFunction &MF) {
TII = static_cast<const ARM64InstrInfo *>(MF.getTarget().getInstrInfo()); TII = static_cast<const ARM64InstrInfo *>(MF.getTarget().getInstrInfo());
bool Modified = false; bool Modified = false;
for (MachineFunction::iterator MFI = MF.begin(), E = MF.end(); MFI != E; for (auto &MBB : MF)
++MFI) Modified |= expandMBB(MBB);
Modified |= expandMBB(*MFI);
return Modified; return Modified;
} }