mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
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:
parent
63a08e09ae
commit
3ab115ce8f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user