rust/tests/mir-opt/while_storage.while_loop.PreCodegen.after.panic-unwind.mir

29 lines
450 B
Rust

// MIR for `while_loop` after PreCodegen
fn while_loop(_1: bool) -> () {
debug c => _1;
let mut _0: ();
scope 1 (inlined get_bool) {
debug c => _1;
}
scope 2 (inlined get_bool) {
debug c => _1;
}
bb0: {
goto -> bb1;
}
bb1: {
switchInt(_1) -> [0: bb3, otherwise: bb2];
}
bb2: {
switchInt(_1) -> [0: bb1, otherwise: bb3];
}
bb3: {
return;
}
}