mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-27 04:31:18 +00:00
30 lines
544 B
Diff
30 lines
544 B
Diff
- // MIR for `match_non_int_failed` before MatchBranchSimplification
|
|
+ // MIR for `match_non_int_failed` after MatchBranchSimplification
|
|
|
|
fn match_non_int_failed(_1: char) -> u8 {
|
|
let mut _0: u8;
|
|
|
|
bb0: {
|
|
switchInt(copy _1) -> [97: bb1, 98: bb2, otherwise: bb3];
|
|
}
|
|
|
|
bb1: {
|
|
_0 = const 97_u8;
|
|
goto -> bb4;
|
|
}
|
|
|
|
bb2: {
|
|
_0 = const 98_u8;
|
|
goto -> bb4;
|
|
}
|
|
|
|
bb3: {
|
|
unreachable;
|
|
}
|
|
|
|
bb4: {
|
|
return;
|
|
}
|
|
}
|
|
|