rust/tests/mir-opt/inline/inline_specialization.main.Inline.panic-abort.diff

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

26 lines
495 B
Diff
Raw Normal View History

2020-04-04 12:15:01 -05:00
- // MIR for `main` before Inline
+ // MIR for `main` after Inline
fn main() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let _1: u32;
2020-04-04 12:15:01 -05:00
scope 1 {
2023-06-06 08:47:00 -05:00
debug x => _1;
2020-04-04 12:15:01 -05:00
}
2023-06-06 08:47:00 -05:00
+ scope 2 (inlined <Vec<()> as Foo>::bar) {
2020-04-04 12:15:01 -05:00
+ }
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
- _1 = <Vec<()> as Foo>::bar() -> [return: bb1, unwind unreachable];
2020-04-04 12:15:01 -05:00
- }
-
- bb1: {
2023-06-06 08:47:00 -05:00
+ _1 = const 123_u32;
_0 = const ();
StorageDead(_1);
return;
2020-04-04 12:15:01 -05:00
}
}