diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-10-28 04:45:29 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-10-28 04:45:29 +0000 |
| commit | 133f079c8cf966d2222c2dda2de56d2cc600497e (patch) | |
| tree | 4c9d473350fd191174f5bfe59cb66b24f699375e /include/llvm/CodeGen | |
| parent | 6d6c3f86186333037f2fd3fb001e8b2998c080d9 (diff) | |
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
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
