Remove getOpCode(). Help doxygenify some comments.
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 12 Feb 2004 01:34:03 +0000 (01:34 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 12 Feb 2004 01:34:03 +0000 (01:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11338 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index aa0ae5cfdb33935e34ba2051a8de29df25d903e1..ff05631d40839c021657cb9555515978a4f5fcaa 100644 (file)
@@ -375,19 +375,13 @@ public:
   ///
   MachineInstr(MachineBasicBlock *MBB, int Opcode, unsigned numOps);
   
-
-  // The opcode.
-  // 
+  /// Accessors for opcode and associated flags.
+  ///
   const int getOpcode() const { return opCode; }
-  const int getOpCode() const { return opCode; }
-
-  // Opcode flags.
-  // 
-  unsigned       getOpCodeFlags() const { return opCodeFlags; }
+  unsigned getOpCodeFlags() const { return opCodeFlags; }
 
-  //
-  // Access to explicit operands of the instruction
-  // 
+  /// Access to explicit operands of the instruction.
+  ///
   unsigned getNumOperands() const { return operands.size() - numImplicitRefs; }
   
   const MachineOperand& getOperand(unsigned i) const {