From 9dbf1e5bb8d1d038a3a4fcf5eeb38d275aaa8f38 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 9 Mar 2005 15:19:41 +0000 Subject: [PATCH] Fix a typo in an assertion comment. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index dfba3508e0e..71754fdac4b 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -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!"); } -- 2.34.1