From 84b6cc9cbe0170397972cdc03e152095fb2cf79f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 10 Jul 2008 19:58:23 +0000 Subject: [PATCH] Fix a copy+pasto in an assertion string. llvm-svn: 53419 --- llvm/include/llvm/CodeGen/MachineOperand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/MachineOperand.h b/llvm/include/llvm/CodeGen/MachineOperand.h index 28d63524bc4e..05984f601eeb 100644 --- a/llvm/include/llvm/CodeGen/MachineOperand.h +++ b/llvm/include/llvm/CodeGen/MachineOperand.h @@ -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; -- GitLab