Remove getOpCode(). Help doxygenify some comments.
[oota-llvm.git] / 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 {