From: Brian Gaeke Date: Thu, 12 Feb 2004 04:26:49 +0000 (+0000) Subject: Add one more doxygen comment. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0eda78a3729a917592a89ede933d7b7df82e0dc3;p=oota-llvm.git Add one more doxygen comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11344 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 8d36c885379..89731979a54 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.