rust/tests/mir-opt/inline/dyn_trait.try_execute_query.Inline.panic-unwind.diff

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

29 lines
830 B
Diff
Raw Normal View History

2022-05-12 05:46:28 -05:00
- // MIR for `try_execute_query` before Inline
+ // MIR for `try_execute_query` after Inline
fn try_execute_query(_1: &C) -> () {
2023-06-06 08:47:00 -05:00
debug c => _1;
let mut _0: ();
let mut _2: &dyn Cache<V = <C as Cache>::V>;
let mut _3: &C;
+ scope 1 (inlined mk_cycle::<<C as Cache>::V>) {
+ debug c => _2;
2022-05-12 05:46:28 -05:00
+ }
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_2);
StorageLive(_3);
_3 = &(*_1);
_2 = move _3 as &dyn Cache<V = <C as Cache>::V> (PointerCoercion(Unsize));
2023-06-06 08:47:00 -05:00
StorageDead(_3);
2023-06-23 11:53:09 -05:00
- _0 = mk_cycle::<<C as Cache>::V>(move _2) -> [return: bb1, unwind continue];
2023-07-16 08:11:10 -05:00
+ _0 = <dyn Cache<V = <C as Cache>::V> as Cache>::store_nocache(move _2) -> [return: bb1, unwind continue];
2022-05-12 05:46:28 -05:00
}
bb1: {
2023-06-06 08:47:00 -05:00
StorageDead(_2);
return;
2022-05-12 05:46:28 -05:00
}
}