fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
468 B29 linesraw
1// MIR for `match_bool` after built
2
3fn match_bool(_1: bool) -> usize {
4    debug x => _1;
5    let mut _0: usize;
6
7    bb0: {
8        FakeRead(ForMatchedPlace(None), _1);
9        switchInt(_1) -> [0: bb2, otherwise: bb1];
10    }
11
12    bb1: {
13        falseEdge -> [real: bb3, imaginary: bb2];
14    }
15
16    bb2: {
17        _0 = const 20_usize;
18        goto -> bb4;
19    }
20
21    bb3: {
22        _0 = const 10_usize;
23        goto -> bb4;
24    }
25
26    bb4: {
27        return;
28    }
29}