From 133f079c8cf966d2222c2dda2de56d2cc600497e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 28 Oct 2002 04:45:29 +0000 Subject: 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 --- include/llvm/CodeGen/MachineInstr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llvm/CodeGen') diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index ba901a8d74..34a28c0d7b 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -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 { -- cgit v1.2.3-70-g09d2