From e408e25132b8de8c757db1e3ddcd70432dfeb24d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Apr 2003 16:37:45 +0000 Subject: Remove unnecesary &*'s git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5872 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp') diff --git a/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp b/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp index 8fabbc9ca3..61c60ec7c5 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp @@ -386,7 +386,7 @@ void insertBB(Edge ed, for(BasicBlock::iterator BB2Inst = BB2->begin(), BBend = BB2->end(); BB2Inst != BBend; ++BB2Inst){ - if(PHINode *phiInst=dyn_cast(&*BB2Inst)){ + if(PHINode *phiInst=dyn_cast(BB2Inst)){ int bbIndex=phiInst->getBasicBlockIndex(BB1); assert(bbIndex>=0); phiInst->setIncomingBlock(bbIndex, newBB); -- cgit v1.2.3