summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-01-31 20:57:50 +0000
committerChad Rosier <mcrosier@apple.com>2013-01-31 20:57:50 +0000
commit44e65a512d1332510c78e65aee2c9600766b8e1f (patch)
tree348218feaf84b3f9da9a4928e952b96d169cbc13 /llvm/lib/CodeGen
parent281e4b1f92c7b3ba39e58094a0c2c2cd3438980e (diff)
downloadbcm5719-llvm-44e65a512d1332510c78e65aee2c9600766b8e1f.tar.gz
bcm5719-llvm-44e65a512d1332510c78e65aee2c9600766b8e1f.zip
Add braces, so my head doesn't explode.
llvm-svn: 174088
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index 87a6528d9bc..bca3ede3329 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -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;
OpenPOWER on IntegriCloud