mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
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
This commit is contained in:
parent
fc4addafb5
commit
9dbf1e5bb8
@ -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