2022-08-20 23:47:53 -05:00
|
|
|
// MIR for `f_unit` after PreCodegen
|
2020-11-13 18:00:00 -06:00
|
|
|
|
|
|
|
fn f_unit() -> () {
|
2022-08-20 23:47:53 -05:00
|
|
|
let mut _0: (); // return place in scope 0 at $DIR/lower_intrinsics_e2e.rs:+0:17: +0:17
|
|
|
|
scope 1 (inlined f_dispatch::<()>) { // at $DIR/lower_intrinsics_e2e.rs:9:5: 9:19
|
2023-01-23 16:17:36 -06:00
|
|
|
debug t => const (); // in scope 1 at $DIR/lower_intrinsics_e2e.rs:19:22: 19:23
|
|
|
|
let _1: (); // in scope 1 at $DIR/lower_intrinsics_e2e.rs:21:9: 21:17
|
2022-08-20 23:47:53 -05:00
|
|
|
scope 2 (inlined std::mem::size_of::<()>) { // at $DIR/lower_intrinsics_e2e.rs:20:8: 20:32
|
2020-11-13 18:00:00 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
2023-01-23 16:17:36 -06:00
|
|
|
_1 = f_zst::<()>(const ()) -> bb1; // scope 1 at $DIR/lower_intrinsics_e2e.rs:21:9: 21:17
|
2020-11-13 18:00:00 -06:00
|
|
|
// mir::Constant
|
2022-08-20 23:47:53 -05:00
|
|
|
// + span: $DIR/lower_intrinsics_e2e.rs:21:9: 21:14
|
2022-07-06 09:14:46 -05:00
|
|
|
// + literal: Const { ty: fn(()) {f_zst::<()>}, val: Value(<ZST>) }
|
2020-11-13 18:00:00 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2022-08-20 23:47:53 -05:00
|
|
|
return; // scope 0 at $DIR/lower_intrinsics_e2e.rs:+2:2: +2:2
|
2020-11-13 18:00:00 -06:00
|
|
|
}
|
|
|
|
}
|