summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-03-09 15:19:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-03-09 15:19:41 +0000
commitf064bb2617c1813e460b8de058b91062d2c08fa9 (patch)
tree87fbde6260e6aa223b7e5a4656119bf99eacd9d1 /llvm/lib/VMCore
parent4dc39d447dc9b7ff89888ee7b2eb086cc035e79c (diff)
downloadbcm5719-llvm-f064bb2617c1813e460b8de058b91062d2c08fa9.tar.gz
bcm5719-llvm-f064bb2617c1813e460b8de058b91062d2c08fa9.zip
Fix a typo in an assertion comment.
Patch contributed by Vladimir Merzliakov. llvm-svn: 20529
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp
index dfba3508e0e..71754fdac4b 100644
--- a/llvm/lib/VMCore/Constants.cpp
+++ b/llvm/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!");
}
OpenPOWER on IntegriCloud