Fix a typo in an assertion comment.
authorReid Spencer <rspencer@reidspencer.com>
Wed, 9 Mar 2005 15:19:41 +0000 (15:19 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 9 Mar 2005 15:19:41 +0000 (15:19 +0000)
Patch contributed by Vladimir Merzliakov.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20529 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Constants.cpp

index dfba3508e0e4d98f76e9db0dc0ea3330f9951644..71754fdac4b93428ee875bcd06a507e18f75c062 100644 (file)
@@ -221,7 +221,7 @@ ConstantInt::ConstantInt(const Type *Ty, uint64_t V) : ConstantIntegral(Ty, V) {
 
 ConstantSInt::ConstantSInt(const Type *Ty, int64_t V) : ConstantInt(Ty, V) {
   assert(Ty->isInteger() && Ty->isSigned() &&
-         "Illegal type for unsigned integer constant!");
+         "Illegal type for signed integer constant!");
   assert(isValueValidForType(Ty, V) && "Value too large for type!");
 }