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:
Chris Lattner
2002-10-28 04:45:29 +00:00
parent 6d6c3f8618
commit 133f079c8c
12 changed files with 101 additions and 104 deletions

View File

@@ -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);