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

@@ -101,7 +101,7 @@ public:
// Accessor methods. Caller is responsible for checking the
// operand type before invoking the corresponding accessor.
//
MachineOperandType getOperandType() const { return opType; }
MachineOperandType getType() const { return opType; }
inline Value* getVRegValue () const {
assert(opType == MO_VirtualRegister || opType == MO_CCRegister ||
@@ -248,7 +248,7 @@ public:
}
MachineOperand::MachineOperandType getOperandType(unsigned i) const {
return getOperand(i).getOperandType();
return getOperand(i).getType();
}
bool operandIsDefined(unsigned i) const {