[llvm-commits] CVS: llvm/lib/Target/CBackend/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Mar 19 09:35:27 PST 2005
Changes in directory llvm/lib/Target/CBackend:
Writer.cpp updated: 1.234 -> 1.235
---
Log message:
Fix the 3 regressions last night, due to my buggy patch from yesterday.
---
Diffs of the changes: (+1 -1)
Writer.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.234 llvm/lib/Target/CBackend/Writer.cpp:1.235
--- llvm/lib/Target/CBackend/Writer.cpp:1.234 Fri Mar 18 10:12:37 2005
+++ llvm/lib/Target/CBackend/Writer.cpp Sat Mar 19 11:35:11 2005
@@ -1247,7 +1247,7 @@
BasicBlock *Succ = cast<BasicBlock>(SI.getOperand(i+1));
printPHICopiesForSuccessor (SI.getParent(), Succ, 2);
printBranchToBlock(SI.getParent(), Succ, 2);
- if (Succ == next(Function::iterator(SI.getParent())))
+ if (Function::iterator(Succ) == next(Function::iterator(SI.getParent())))
Out << " break;\n";
}
Out << " }\n";
More information about the llvm-commits
mailing list