[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h

Brian Gaeke gaeke at cs.uiuc.edu
Wed Feb 11 22:27:02 PST 2004


Changes in directory llvm/include/llvm/CodeGen:

MachineInstr.h updated: 1.130 -> 1.131

---
Log message:

Add one more doxygen comment.

---
Diffs of the changes:  (+2 -4)

Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.130 llvm/include/llvm/CodeGen/MachineInstr.h:1.131
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.130	Wed Feb 11 22:15:00 2004
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Wed Feb 11 22:26:49 2004
@@ -192,9 +192,8 @@
     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
@@ -203,7 +202,6 @@
   /// MachineBasicBlock, GlobalAddress, ExternalSymbol
   ///
   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





More information about the llvm-commits mailing list