fork/rust

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

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

master
350 B21 linesraw
1// MIR for `switch_option_repr` after built
2
3fn switch_option_repr(_1: Bool) -> bool {
4    let mut _0: bool;
5    let mut _2: u8;
6
7    bb0: {
8        _2 = discriminant(_1);
9        switchInt(_2) -> [0: bb2, otherwise: bb1];
10    }
11
12    bb1: {
13        _0 = const true;
14        return;
15    }
16
17    bb2: {
18        _0 = const false;
19        return;
20    }
21}