rust/tests/mir-opt/building/custom/terminators.assert_nonzero.built.after.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
240 B
Rust
Raw Normal View History

// MIR for `assert_nonzero` after built
fn assert_nonzero(_1: i32) -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
bb0: {
2023-06-06 08:47:00 -05:00
switchInt(_1) -> [0: bb1, otherwise: bb2];
}
bb1: {
2023-06-06 08:47:00 -05:00
unreachable;
}
bb2: {
2023-06-06 08:47:00 -05:00
return;
}
}