[llvm-commits] [llvm] r53419 - /llvm/trunk/include/llvm/CodeGen/MachineOperand.h

Dan Gohman gohman at apple.com
Thu Jul 10 12:58:23 PDT 2008


Author: djg
Date: Thu Jul 10 14:58:23 2008
New Revision: 53419

URL: http://llvm.org/viewvc/llvm-project?rev=53419&view=rev
Log:
Fix a copy+pasto in an assertion string.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineOperand.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineOperand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineOperand.h?rev=53419&r1=53418&r2=53419&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineOperand.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineOperand.h Thu Jul 10 14:58:23 2008
@@ -407,7 +407,7 @@
   void AddRegOperandToRegInfo(MachineRegisterInfo *RegInfo);
 
   void RemoveRegOperandFromRegInfo() {
-    assert(isOnRegUseList() && "Can only add reg operand to use lists");
+    assert(isOnRegUseList() && "Reg operand is not on a use list");
     // Unlink this from the doubly linked list of operands.
     MachineOperand *NextOp = Contents.Reg.Next;
     *Contents.Reg.Prev = NextOp; 





More information about the llvm-commits mailing list