1
Fork 0

rename is_valid_for to is_valid

This commit is contained in:
Andreas Liljeqvist 2021-09-07 20:51:09 +02:00
parent dd34e0c966
commit 9095cf9905
4 changed files with 5 additions and 5 deletions

View file

@ -464,7 +464,7 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
) {
match scalar.value {
abi::Int(..) => {
if !scalar.is_always_valid_for(bx) {
if !scalar.is_always_valid(bx) {
bx.range_metadata(load, scalar.valid_range);
}
}