diff options
Diffstat (limited to 'lib/Target/CBackend/Writer.cpp')
-rw-r--r-- | lib/Target/CBackend/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 6fe00ee1af..dfe5ec2f58 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -896,7 +896,7 @@ static bool isGotoCodeNeccessary(BasicBlock *From, BasicBlock *To) { 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); |