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 | e408e25132b8de8c757db1e3ddcd70432dfeb24d (patch) | |
tree | 629c22dc753c0a18f2188a3089f0a8d19fc73464 /lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | |
parent | 2ee82e05e3e41fa23951d3503db5483a36dc3ae3 (diff) |
Remove unnecesary &*'s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5872 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index c876238a1e..64075c8024 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp +++ b/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); |