rename MachineInstr::setInstrDescriptor -> setDesc
[oota-llvm.git] / include / llvm / CodeGen / MachineInstr.h
index 72463f98d8f26937f92bc020ee276f56108e47d3..749d1f9a9ae3ad338a1bdd9e05d9193681aae6de 100644 (file)
@@ -163,10 +163,10 @@ public:
   /// (before the first implicit operand). 
   void addOperand(const MachineOperand &Op);
   
-  /// setInstrDescriptor - Replace the instruction descriptor (thus opcode) of
+  /// setDesc - Replace the instruction descriptor (thus opcode) of
   /// the current instruction with a new one.
   ///
-  void setInstrDescriptor(const TargetInstrDesc &tid) { TID = &tid; }
+  void setDesc(const TargetInstrDesc &tid) { TID = &tid; }
 
   /// RemoveOperand - Erase an operand  from an instruction, leaving it with one
   /// fewer operand than it started with.