mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Remove unnecesary &*'s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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<PHINode>(&*BB2Inst)){
|
||||
if(PHINode *phiInst=dyn_cast<PHINode>(BB2Inst)){
|
||||
int bbIndex=phiInst->getBasicBlockIndex(BB1);
|
||||
assert(bbIndex>=0);
|
||||
phiInst->setIncomingBlock(bbIndex, newBB);
|
||||
|
||||
Reference in New Issue
Block a user