mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
Rename the redundant MachineOperand::getOperandType() to MachineOperand::getType()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4331 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1106,7 +1106,7 @@ ForwardOperand(InstructionNode* treeNode,
|
||||
for (unsigned i=0, numOps=minstr->getNumOperands(); i < numOps; ++i)
|
||||
{
|
||||
const MachineOperand& mop = minstr->getOperand(i);
|
||||
if (mop.getOperandType() == MachineOperand::MO_VirtualRegister &&
|
||||
if (mop.getType() == MachineOperand::MO_VirtualRegister &&
|
||||
mop.getVRegValue() == unusedOp)
|
||||
minstr->SetMachineOperandVal(i,
|
||||
MachineOperand::MO_VirtualRegister, fwdOp);
|
||||
|
||||
Reference in New Issue
Block a user