[JITLink] Fix warning 'shift count exceeds width' in AArch64 backend

This commit is contained in:
Stefan Gränitz
2021-10-25 20:41:26 +02:00
parent f1b922188e
commit cdb335ffaf

View File

@@ -66,7 +66,7 @@ private:
}
template <uint8_t Bits> static bool fitsRangeSignedInt(int64_t Value) {
return Value >= -(1 << Bits) && Value < (1 << Bits);
return Value >= -(1ll << Bits) && Value < (1ll << Bits);
}
};