Fix a copy+pasto in an assertion string.
authorDan Gohman <gohman@apple.com>
Thu, 10 Jul 2008 19:58:23 +0000 (19:58 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 10 Jul 2008 19:58:23 +0000 (19:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53419 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineOperand.h

index 28d63524bc4edc89ed0788b8381cfe79461a537e..05984f601eeb820c737f6cf755ad5a985d3ed176 100644 (file)
@@ -407,7 +407,7 @@ private:
   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;