]>
Commit | Line | Data |
---|---|---|
ba9703b0 XL |
1 | // MIR for `match_bool` 0 mir_map |
2 | ||
3 | fn match_bool(_1: bool) -> usize { | |
4 | debug x => _1; // in scope 0 at $DIR/simple-match.rs:5:15: 5:16 | |
5 | let mut _0: usize; // return place in scope 0 at $DIR/simple-match.rs:5:27: 5:32 | |
6 | ||
7 | bb0: { | |
cdc7bbd5 | 8 | FakeRead(ForMatchedPlace(None), _1); // scope 0 at $DIR/simple-match.rs:6:11: 6:12 |
29967ef6 | 9 | switchInt(_1) -> [false: bb2, otherwise: bb1]; // scope 0 at $DIR/simple-match.rs:7:9: 7:13 |
ba9703b0 XL |
10 | } |
11 | ||
29967ef6 XL |
12 | bb1: { |
13 | falseEdge -> [real: bb3, imaginary: bb2]; // scope 0 at $DIR/simple-match.rs:7:9: 7:13 | |
ba9703b0 XL |
14 | } |
15 | ||
16 | bb2: { | |
f035d41b | 17 | _0 = const 20_usize; // scope 0 at $DIR/simple-match.rs:8:14: 8:16 |
29967ef6 | 18 | goto -> bb4; // scope 0 at $DIR/simple-match.rs:6:5: 9:6 |
ba9703b0 XL |
19 | } |
20 | ||
29967ef6 | 21 | bb3: { |
f035d41b | 22 | _0 = const 10_usize; // scope 0 at $DIR/simple-match.rs:7:17: 7:19 |
29967ef6 | 23 | goto -> bb4; // scope 0 at $DIR/simple-match.rs:6:5: 9:6 |
ba9703b0 XL |
24 | } |
25 | ||
29967ef6 | 26 | bb4: { |
f9f354fc | 27 | return; // scope 0 at $DIR/simple-match.rs:10:2: 10:2 |
ba9703b0 XL |
28 | } |
29 | } |