aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineOperand.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-10 19:58:23 +0000
committerDan Gohman <gohman@apple.com>2008-07-10 19:58:23 +0000
commit821ab5839e521f2b20b9553309c91acb5e23a9e2 (patch)
tree240a6258f3cda87ec166d76343259ff2fb0694af /include/llvm/CodeGen/MachineOperand.h
parent7151c50f1066a3ea02007deee72bb2f3fc1431c4 (diff)
downloadexternal_llvm-821ab5839e521f2b20b9553309c91acb5e23a9e2.tar.gz
external_llvm-821ab5839e521f2b20b9553309c91acb5e23a9e2.tar.bz2
external_llvm-821ab5839e521f2b20b9553309c91acb5e23a9e2.zip
Fix a copy+pasto in an assertion string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineOperand.h')
-rw-r--r--include/llvm/CodeGen/MachineOperand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h
index 28d63524bc..05984f601e 100644
--- a/include/llvm/CodeGen/MachineOperand.h
+++ b/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;