blob: 0e82d9591a691b155008f360694e03f4fe45adb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// MIR for `match_bool` after built
fn match_bool(_1: bool) -> usize {
debug x => _1;
let mut _0: usize;
bb0: {
PlaceMention(_1);
switchInt(copy _1) -> [0: bb1, otherwise: bb2];
}
bb1: {
_0 = const 20_usize;
goto -> bb6;
}
bb2: {
falseEdge -> [real: bb5, imaginary: bb1];
}
bb3: {
goto -> bb1;
}
bb4: {
FakeRead(ForMatchedPlace(None), _1);
unreachable;
}
bb5: {
_0 = const 10_usize;
goto -> bb6;
}
bb6: {
return;
}
}
|