diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-03-09 15:19:41 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-03-09 15:19:41 +0000 |
commit | 9dbf1e5bb8d1d038a3a4fcf5eeb38d275aaa8f38 (patch) | |
tree | 04e4761ff35497cca61964cc5157caa29452a336 /lib/VMCore/Constants.cpp | |
parent | fc4addafb51fe085bc6c9b0677e685f19ec75bfc (diff) | |
download | external_llvm-9dbf1e5bb8d1d038a3a4fcf5eeb38d275aaa8f38.zip external_llvm-9dbf1e5bb8d1d038a3a4fcf5eeb38d275aaa8f38.tar.gz external_llvm-9dbf1e5bb8d1d038a3a4fcf5eeb38d275aaa8f38.tar.bz2 |
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
Diffstat (limited to 'lib/VMCore/Constants.cpp')
-rw-r--r-- | lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index dfba350..71754fd 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!"); } |