rust/tests/mir-opt/remove_zsts.get_union.PreCodegen.after.mir

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

14 lines
629 B
Rust
Raw Normal View History

// MIR for `get_union` after PreCodegen
fn get_union() -> Foo {
let mut _0: Foo; // return place in scope 0 at $DIR/remove_zsts.rs:+0:19: +0:22
2023-01-25 12:34:35 -06:00
let mut _1: (); // in scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
bb0: {
2023-01-25 12:34:35 -06:00
StorageLive(_1); // scope 0 at $DIR/remove_zsts.rs:+1:14: +1:16
_0 = Foo { x: move _1 }; // scope 0 at $DIR/remove_zsts.rs:+1:5: +1:18
StorageDead(_1); // scope 0 at $DIR/remove_zsts.rs:+1:17: +1:18
return; // scope 0 at $DIR/remove_zsts.rs:+2:2: +2:2
}
}