Rename (un)signed
to (un)signed_int
This commit is contained in:
parent
9129f4306f
commit
dd34e0c966
6 changed files with 17 additions and 16 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue