aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-28 04:45:29 +0000
committerChris Lattner <sabre@nondot.org>2002-10-28 04:45:29 +0000
commit133f079c8cf966d2222c2dda2de56d2cc600497e (patch)
tree4c9d473350fd191174f5bfe59cb66b24f699375e /include/llvm/CodeGen/MachineInstr.h
parent6d6c3f86186333037f2fd3fb001e8b2998c080d9 (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/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h4
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 {