rust/compiler/rustc_mir
Tomasz Miąsko ff1a9e406b Fix underflow when calculating the number of no-op jumps folded
When removing unwinds to no-op blocks and folding jumps to no-op blocks,
remove the unwind target first. Otherwise we cannot determine if target
has been already folded or not.

Previous implementation incorrectly assumed that all resume targets had
been folded already, occasionally resulting in an underflow:

remove_noop_landing_pads: removed 18446744073709551613 jumps and 3 landing pads
2020-09-16 00:00:00 +00:00
..
src Fix underflow when calculating the number of no-op jumps folded 2020-09-16 00:00:00 +00:00
Cargo.toml update the version of itertools and parking_lot 2020-09-12 08:26:53 +02:00