mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -76,7 +76,7 @@ inline bool isUIntN(unsigned N, uint64_t x) {
|
|||||||
return x == (x & (~0ULL >> (64 - N)));
|
return x == (x & (~0ULL >> (64 - N)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// isIIntN - Checks if an signed integer fits into the given (dynamic)
|
/// isIntN - Checks if an signed integer fits into the given (dynamic)
|
||||||
/// bit width.
|
/// bit width.
|
||||||
inline bool isIntN(unsigned N, int64_t x) {
|
inline bool isIntN(unsigned N, int64_t x) {
|
||||||
return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
|
return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
|
||||||
|
Reference in New Issue
Block a user