2023-04-23 04:38:37 -05:00
|
|
|
// MIR for `ub_if_b` after PreCodegen
|
|
|
|
|
|
|
|
fn ub_if_b(_1: Thing) -> Thing {
|
2023-06-06 08:47:00 -05:00
|
|
|
debug t => _1;
|
|
|
|
let mut _0: Thing;
|
|
|
|
let mut _2: isize;
|
|
|
|
scope 1 (inlined unreachable_unchecked) {
|
2023-04-23 04:38:37 -05:00
|
|
|
scope 2 {
|
2023-06-06 08:47:00 -05:00
|
|
|
scope 3 (inlined unreachable_unchecked::runtime) {
|
2023-04-23 04:38:37 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
_2 = discriminant(_1);
|
|
|
|
switchInt(move _2) -> [0: bb1, otherwise: bb2];
|
2023-04-23 04:38:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
_0 = move _1;
|
|
|
|
return;
|
2023-04-23 04:38:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb2: {
|
2023-06-06 08:47:00 -05:00
|
|
|
unreachable;
|
2023-04-23 04:38:37 -05:00
|
|
|
}
|
|
|
|
}
|