mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02: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) {
|
ConstantSInt::ConstantSInt(const Type *Ty, int64_t V) : ConstantInt(Ty, V) {
|
||||||
assert(Ty->isInteger() && Ty->isSigned() &&
|
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!");
|
assert(isValueValidForType(Ty, V) && "Value too large for type!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user