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!"); }