mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Move some methods out of MachineInstr into MachineOperand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28102 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -211,7 +211,7 @@ void RegAllocSimple::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
||||
Virt2PhysRegMap[virtualReg] = physReg;
|
||||
}
|
||||
}
|
||||
MI->SetMachineOperandReg(i, physReg);
|
||||
MI->getOperand(i).setReg(physReg);
|
||||
DEBUG(std::cerr << "virt: " << virtualReg <<
|
||||
", phys: " << op.getReg() << "\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user