Add braces, so my head doesn't explode.

llvm-svn: 174088
This commit is contained in:
Chad Rosier 2013-01-31 20:57:50 +00:00
parent 281e4b1f92
commit 44e65a512d
1 changed files with 2 additions and 1 deletions

View File

@ -751,7 +751,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
MachineInstr *MI = I;
bool DoIncr = true;
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i)
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
if (MI->getOperand(i).isFI()) {
// Some instructions (e.g. inline asm instructions) can have
// multiple frame indices and/or cause eliminateFrameIndex
@ -778,6 +778,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
MI = 0;
break;
}
}
if (DoIncr && I != BB->end()) ++I;