mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
Fix a typo in an assertion comment.
Patch contributed by Vladimir Merzliakov. llvm-svn: 20529
This commit is contained in:
parent
5c9c611068
commit
220e2f8519
@ -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!");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user