blob: 5d74f0f75db9534d3cb7955dac9b5c8186716258 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
- // MIR for `assert_zero` before InstSimplify-after-simplifycfg
+ // MIR for `assert_zero` after InstSimplify-after-simplifycfg
fn assert_zero(_1: u8) -> u8 {
let mut _0: u8;
bb0: {
- switchInt(copy _1) -> [0: bb2, 1: bb1, otherwise: bb1];
+ switchInt(copy _1) -> [0: bb2, otherwise: bb1];
}
bb1: {
unreachable;
}
bb2: {
_0 = copy _1;
return;
}
}
|