fork/rust

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

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

master
293 B19 linesraw
1// MIR for `switch_bool` after built
2
3fn switch_bool(_1: bool) -> u32 {
4    let mut _0: u32;
5
6    bb0: {
7        switchInt(_1) -> [1: bb1, 0: bb2, otherwise: bb2];
8    }
9
10    bb1: {
11        _0 = const 5_u32;
12        return;
13    }
14
15    bb2: {
16        _0 = const 10_u32;
17        return;
18    }
19}