mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
22 lines
414 B
Diff
22 lines
414 B
Diff
- // MIR for `multiple_edges` before CopyProp
|
|
+ // MIR for `multiple_edges` after CopyProp
|
|
|
|
fn multiple_edges(_1: bool) -> u8 {
|
|
let mut _0: u8;
|
|
let mut _2: u8;
|
|
|
|
bb0: {
|
|
switchInt(_1) -> [1: bb1, otherwise: bb2];
|
|
}
|
|
|
|
bb1: {
|
|
_2 = dummy(const 13_u8) -> [return: bb2, unwind continue];
|
|
}
|
|
|
|
bb2: {
|
|
_0 = _2;
|
|
return;
|
|
}
|
|
}
|
|
|