[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Apr 23 11:37:04 PDT 2003
Changes in directory llvm/lib/CWriter:
Writer.cpp updated: 1.78 -> 1.79
---
Log message:
Remove unneccesary &*
---
Diffs of the changes:
Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.78 llvm/lib/CWriter/Writer.cpp:1.79
--- llvm/lib/CWriter/Writer.cpp:1.78 Tue Apr 22 15:19:52 2003
+++ llvm/lib/CWriter/Writer.cpp Wed Apr 23 11:36:08 2003
@@ -896,7 +896,7 @@
void CWriter::printBranchToBlock(BasicBlock *CurBB, BasicBlock *Succ,
unsigned Indent) {
for (BasicBlock::iterator I = Succ->begin();
- PHINode *PN = dyn_cast<PHINode>(&*I); ++I) {
+ PHINode *PN = dyn_cast<PHINode>(I); ++I) {
// now we have to do the printing
Out << string(Indent, ' ');
outputLValue(PN);
More information about the llvm-commits
mailing list