Add braces, so my head doesn't explode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2013-01-31 20:57:50 +00:00
parent 63a08e09ae
commit 3ab115ce8f

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;