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

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

21 lines
455 B
Diff
Raw Normal View History

2022-05-12 12:46:28 +02:00
- // MIR for `mk_cycle` before Inline
+ // MIR for `mk_cycle` after Inline
fn mk_cycle(_1: &dyn Cache<V = V>) -> () {
2023-06-06 09:47:00 -04:00
debug c => _1;
let mut _0: ();
let mut _2: &dyn Cache<V = V>;
2022-05-12 12:46:28 +02:00
bb0: {
2023-06-06 09:47:00 -04:00
StorageLive(_2);
_2 = &(*_1);
2023-06-23 17:53:09 +01:00
_0 = <dyn Cache<V = V> as Cache>::store_nocache(move _2) -> [return: bb1, unwind continue];
2022-05-12 12:46:28 +02:00
}
bb1: {
2023-06-06 09:47:00 -04:00
StorageDead(_2);
return;
2022-05-12 12:46:28 +02:00
}
}