]> git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/simple_match.match_bool.mir_map.0.64bit.mir
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / mir-opt / simple_match.match_bool.mir_map.0.64bit.mir
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: {
8 FakeRead(ForMatchedPlace, _1); // scope 0 at $DIR/simple-match.rs:6:11: 6:12
9 switchInt(_1) -> [false: bb3, otherwise: bb2]; // scope 0 at $DIR/simple-match.rs:7:9: 7:13
10 }
11
12 bb1 (cleanup): {
13 resume; // scope 0 at $DIR/simple-match.rs:5:1: 10:2
14 }
15
16 bb2: {
17 falseEdge -> [real: bb4, imaginary: bb3]; // scope 0 at $DIR/simple-match.rs:7:9: 7:13
18 }
19
20 bb3: {
21 _0 = const 20_usize; // scope 0 at $DIR/simple-match.rs:8:14: 8:16
22 goto -> bb5; // scope 0 at $DIR/simple-match.rs:6:5: 9:6
23 }
24
25 bb4: {
26 _0 = const 10_usize; // scope 0 at $DIR/simple-match.rs:7:17: 7:19
27 goto -> bb5; // scope 0 at $DIR/simple-match.rs:6:5: 9:6
28 }
29
30 bb5: {
31 goto -> bb6; // scope 0 at $DIR/simple-match.rs:10:2: 10:2
32 }
33
34 bb6: {
35 return; // scope 0 at $DIR/simple-match.rs:10:2: 10:2
36 }
37 }