Fix typos in assert messages.
authorJay Foad <jay.foad@gmail.com>
Mon, 21 Mar 2011 16:38:22 +0000 (16:38 +0000)
committerJay Foad <jay.foad@gmail.com>
Mon, 21 Mar 2011 16:38:22 +0000 (16:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128002 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/User.h

index 1363495f7c07c230c756461b30e244b9fe7983aa..3f9c28e7b381c165a510158abc8c7fb621e534ea 100644 (file)
@@ -95,11 +95,11 @@ public:
     OperandList[i] = Val;
   }
   const Use &getOperandUse(unsigned i) const {
-    assert(i < NumOperands && "getOperand() out of range!");
+    assert(i < NumOperands && "getOperandUse() out of range!");
     return OperandList[i];
   }
   Use &getOperandUse(unsigned i) {
-    assert(i < NumOperands && "getOperand() out of range!");
+    assert(i < NumOperands && "getOperandUse() out of range!");
     return OperandList[i];
   }