projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
281e4b1
)
Add braces, so my head doesn't explode.
author
Chad Rosier
<mcrosier@apple.com>
Thu, 31 Jan 2013 20:57:50 +0000
(20:57 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Thu, 31 Jan 2013 20:57:50 +0000
(20:57 +0000)
llvm-svn: 174088
llvm/lib/CodeGen/PrologEpilogInserter.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index
87a6528
..
bca3ede
100644
(file)
--- 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;