summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-23 16:37:45 +0000
committerChris Lattner <sabre@nondot.org>2003-04-23 16:37:45 +0000
commit889f620841146d6f9f935f2271e80a7dddc15e25 (patch)
treeeb3b923511a1c4be6f4936462a30321f6984c395 /llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
parent6ee2cf5d89f1695e229926ecee821e1a22759617 (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud