aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-12 04:26:49 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-12 04:26:49 +0000
commit0eda78a3729a917592a89ede933d7b7df82e0dc3 (patch)
treea1be25a8a57dd43a9033b657f697086f2bae6287 /include/llvm/CodeGen/MachineInstr.h
parent56aa531f93d7674c534c145180e3902e40602b57 (diff)
Add one more doxygen comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 8d36c88537..89731979a5 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -192,9 +192,8 @@ public:
return *this;
}
- // Accessor methods. Caller is responsible for checking the
- // operand type before invoking the corresponding accessor.
- //
+ /// getType - Returns the MachineOperandType for this operand.
+ ///
MachineOperandType getType() const { return opType; }
/// isPCRelative - This returns the value of the PCRELATIVE flag, which
@@ -204,7 +203,6 @@ public:
///
bool isPCRelative() const { return (flags & PCRELATIVE) != 0; }
-
/// isRegister - Return true if this operand is a register operand. The X86
/// backend currently can't decide whether to use MO_MR or MO_VR to represent
/// them, so we accept both.