rust/src/test/mir-opt/fn_ptr_shim.core.ops-functi...

14 lines
517 B
Plaintext
Raw Normal View History

2020-06-15 20:54:40 +02:00
// MIR for `std::ops::Fn::call` before AddMovesForPackedDrops
fn std::ops::Fn::call(_1: *const fn(), _2: Args) -> <Self as std::ops::FnOnce<Args>>::Output {
2020-06-12 04:31:49 +02:00
let mut _0: <Self as std::ops::FnOnce<Args>>::Output; // return place in scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
2020-06-15 20:54:40 +02:00
bb0: {
2020-06-12 04:31:49 +02:00
_0 = move (*_1)() -> bb1; // scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
2020-06-15 20:54:40 +02:00
}
bb1: {
2020-06-12 04:31:49 +02:00
return; // scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
2020-06-15 20:54:40 +02:00
}
}