summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CWriter/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
committerChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
commit6ee2cf5d89f1695e229926ecee821e1a22759617 (patch)
treec51cccc2d47c58889c52738a191bfa3f6a2391a1 /llvm/lib/CWriter/Writer.cpp
parent1d724408d0428dfcaa791618bbbe511197850d40 (diff)
downloadbcm5719-llvm-6ee2cf5d89f1695e229926ecee821e1a22759617.tar.gz
bcm5719-llvm-6ee2cf5d89f1695e229926ecee821e1a22759617.zip
Remove unneccesary &*
llvm-svn: 5871
Diffstat (limited to 'llvm/lib/CWriter/Writer.cpp')
-rw-r--r--llvm/lib/CWriter/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CWriter/Writer.cpp b/llvm/lib/CWriter/Writer.cpp
index 6fe00ee1afc..dfe5ec2f58a 100644
--- a/llvm/lib/CWriter/Writer.cpp
+++ b/llvm/lib/CWriter/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);
OpenPOWER on IntegriCloud