2020-04-02 21:09:01 +00:00
|
|
|
// MIR for `match_bool` 0 mir_map
|
|
|
|
|
|
|
|
fn match_bool(_1: bool) -> usize {
|
2020-04-04 20:25:54 +00:00
|
|
|
debug x => _1; // in scope 0 at $DIR/simple-match.rs:5:15: 5:16
|
|
|
|
let mut _0: usize; // return place in scope 0 at $DIR/simple-match.rs:5:27: 5:32
|
2020-04-02 21:09:01 +00:00
|
|
|
|
|
|
|
bb0: {
|
2020-04-25 09:01:43 +00:00
|
|
|
FakeRead(ForMatchedPlace, _1); // scope 0 at $DIR/simple-match.rs:6:11: 6:12
|
2020-06-04 15:29:10 +00:00
|
|
|
switchInt(_1) -> [false: bb3, otherwise: bb2]; // scope 0 at $DIR/simple-match.rs:7:9: 7:13
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
|
2020-06-04 15:29:10 +00:00
|
|
|
bb1 (cleanup): {
|
|
|
|
resume; // scope 0 at $DIR/simple-match.rs:5:1: 10:2
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb2: {
|
2020-06-02 07:15:24 +00:00
|
|
|
falseEdge -> [real: bb4, imaginary: bb3]; // scope 0 at $DIR/simple-match.rs:7:9: 7:13
|
2020-06-04 15:29:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bb3: {
|
2020-06-19 16:57:15 +00:00
|
|
|
_0 = const 20_usize; // scope 0 at $DIR/simple-match.rs:8:14: 8:16
|
2020-06-04 15:29:10 +00:00
|
|
|
goto -> bb5; // scope 0 at $DIR/simple-match.rs:6:5: 9:6
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
|
2020-06-04 15:29:10 +00:00
|
|
|
bb4: {
|
2020-06-19 16:57:15 +00:00
|
|
|
_0 = const 10_usize; // scope 0 at $DIR/simple-match.rs:7:17: 7:19
|
2020-06-04 15:29:10 +00:00
|
|
|
goto -> bb5; // scope 0 at $DIR/simple-match.rs:6:5: 9:6
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
|
2020-06-04 15:29:10 +00:00
|
|
|
bb5: {
|
|
|
|
goto -> bb6; // scope 0 at $DIR/simple-match.rs:10:2: 10:2
|
|
|
|
}
|
|
|
|
|
|
|
|
bb6: {
|
2020-04-25 09:01:43 +00:00
|
|
|
return; // scope 0 at $DIR/simple-match.rs:10:2: 10:2
|
2020-04-02 21:09:01 +00:00
|
|
|
}
|
|
|
|
}
|