mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Remove unneccesary &*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -182,7 +182,7 @@ InstructionSelection::InsertCodeForPhis(Function &F)
|
||||
MachineFunction &MF = MachineFunction::get(&F);
|
||||
for (MachineFunction::iterator BB = MF.begin(); BB != MF.end(); ++BB) {
|
||||
for (BasicBlock::iterator IIt = BB->getBasicBlock()->begin();
|
||||
PHINode *PN = dyn_cast<PHINode>(&*IIt); ++IIt) {
|
||||
PHINode *PN = dyn_cast<PHINode>(IIt); ++IIt) {
|
||||
// FIXME: This is probably wrong...
|
||||
Value *PhiCpRes = new PHINode(PN->getType(), "PhiCp:");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user