about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authordfireBird <me@dfirebird.dev>2023-06-22 12:43:29 +0530
committerdfireBird <me@dfirebird.dev>2023-06-22 12:51:35 +0530
commitb8017928af94871eba9973ff66086a65bcff3a64 (patch)
tree9635ffe44b8750c1462de4c711e803e4b8d63af6 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parent85493dfdb045ce78db78c6d50e8015bdb442cc62 (diff)
downloadrust-b8017928af94871eba9973ff66086a65bcff3a64.tar.gz
rust-b8017928af94871eba9973ff66086a65bcff3a64.zip
Change comparsion for checking if number is negative to include 128
Reason: The last byte in Little Endian representation of negative
integers start at 128 (Ox80) till 255 (OxFF). The comparison before
the fix didn't check for 128 which made is_negative variable as false.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions