2022-09-05 03:00:31 +00:00
|
|
|
// MIR for `match_bool` after built
|
2020-04-02 21:09:01 +00:00
|
|
|
|
|
|
|
fn match_bool(_1: bool) -> usize {
|
2023-06-06 13:47:00 +00:00
|
|
|
debug x => _1;
|
|
|
|
let mut _0: usize;
|
2020-04-02 21:09:01 +00:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 13:47:00 +00:00
|
|
|
FakeRead(ForMatchedPlace(None), _1);
|
|
|
|
switchInt(_1) -> [0: bb2, otherwise: bb1];
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
|
2020-10-02 20:11:24 +00:00
|
|
|
bb1: {
|
2023-06-06 13:47:00 +00:00
|
|
|
falseEdge -> [real: bb3, imaginary: bb2];
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb2: {
|
2023-06-06 13:47:00 +00:00
|
|
|
_0 = const 20_usize;
|
|
|
|
goto -> bb4;
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
|
2020-10-02 20:11:24 +00:00
|
|
|
bb3: {
|
2023-06-06 13:47:00 +00:00
|
|
|
_0 = const 10_usize;
|
|
|
|
goto -> bb4;
|
2020-06-04 15:29:10 +00:00
|
|
|
}
|
|
|
|
|
2020-10-02 20:11:24 +00:00
|
|
|
bb4: {
|
2023-06-06 13:47:00 +00:00
|
|
|
return;
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
}
|