diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:37:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:37:45 +0000 |
commit | 889f620841146d6f9f935f2271e80a7dddc15e25 (patch) | |
tree | eb3b923511a1c4be6f4936462a30321f6984c395 /llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | |
parent | 6ee2cf5d89f1695e229926ecee821e1a22759617 (diff) | |
download | bcm5719-llvm-889f620841146d6f9f935f2271e80a7dddc15e25.tar.gz bcm5719-llvm-889f620841146d6f9f935f2271e80a7dddc15e25.zip |
Remove unnecesary &*'s
llvm-svn: 5872
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index c876238a1e1..64075c8024e 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp +++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp @@ -133,7 +133,7 @@ void getBackEdgesVisit(BasicBlock *u, for(BasicBlock::iterator BB2Inst = BB->begin(), BBend = BB->end(); BB2Inst != BBend; ++BB2Inst){ - if(PHINode *phiInst=dyn_cast<PHINode>(&*BB2Inst)){ + if (PHINode *phiInst = dyn_cast<PHINode>(BB2Inst)){ int bbIndex = phiInst->getBasicBlockIndex(u); if(bbIndex>=0){ phiInst->setIncomingBlock(bbIndex, newBB); |