1
Fork 0

Rename (un)signed to (un)signed_int

This commit is contained in:
Andreas Liljeqvist 2021-09-07 20:44:33 +02:00
parent 9129f4306f
commit dd34e0c966
6 changed files with 17 additions and 16 deletions

View file

@ -260,7 +260,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
// unsigned
if is_add {
// max unsigned
Scalar::from_uint(size.unsigned_max(), Size::from_bits(num_bits))
Scalar::from_uint(size.unsigned_int_max(), Size::from_bits(num_bits))
} else {
// underflow to 0
Scalar::from_uint(0u128, Size::from_bits(num_bits))