From f0eef8ef38cb52a7229b9c9ba470698a346da8c6 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 12 Feb 2004 04:26:49 +0000 Subject: [PATCH] Add one more doxygen comment. llvm-svn: 11344 --- llvm/include/llvm/CodeGen/MachineInstr.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index 8d36c885379b..89731979a54f 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/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.