rust/tests/mir-opt/inline/caller_with_trivial_bound.foo.Inline.panic-unwind.diff

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

31 lines
522 B
Diff
Raw Normal View History

- // MIR for `foo` before Inline
+ // MIR for `foo` after Inline
fn foo() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let mut _1: <IntFactory as Factory<T>>::Item;
scope 1 {
2023-06-06 08:47:00 -05:00
debug x => _1;
}
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
_1 = bar::<T>() -> bb1;
}
bb1: {
2023-06-06 08:47:00 -05:00
_0 = const ();
drop(_1) -> [return: bb2, unwind: bb3];
}
bb2: {
2023-06-06 08:47:00 -05:00
StorageDead(_1);
return;
}
bb3 (cleanup): {
2023-06-06 08:47:00 -05:00
resume;
}
}