diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-01-31 20:57:50 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-01-31 20:57:50 +0000 |
commit | 3ab115ce8f5262608630d67c28707dbd24361d03 (patch) | |
tree | bb21b734dfc8d80ebe196f6e166b6fb7c3c8ad08 /lib/CodeGen | |
parent | 63a08e09ae301241d0bdd0618bb0533a1d303cf5 (diff) | |
download | external_llvm-3ab115ce8f5262608630d67c28707dbd24361d03.zip external_llvm-3ab115ce8f5262608630d67c28707dbd24361d03.tar.gz external_llvm-3ab115ce8f5262608630d67c28707dbd24361d03.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/PrologEpilogInserter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp index 87a6528..bca3ede3 100644 --- a/lib/CodeGen/PrologEpilogInserter.cpp +++ b/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; |