fix copy/paste/modify think-o

llvm-svn: 105653
This commit is contained in:
Jim Grosbach 2010-06-08 22:53:32 +00:00
parent c2f87b7bb2
commit 8fe3cc8055
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ bool ARMLoadStoreOpt::MergeBaseUpdateLoadStore(MachineBasicBlock &MBB,
}
// Try merging with the next instruction.
MachineBasicBlock::iterator EndMBBI = MBB.begin();
MachineBasicBlock::iterator EndMBBI = MBB.end();
if (!DoMerge && MBBI != EndMBBI) {
MachineBasicBlock::iterator NextMBBI = llvm::next(MBBI);
while (NextMBBI != EndMBBI && NextMBBI->isDebugValue())