rust/tests/mir-opt/inline/inline_compatibility.not_inlined_c_variadic.Inline.panic-abort.diff

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

23 lines
514 B
Diff
Raw Normal View History

2020-11-10 18:00:00 -06:00
- // MIR for `not_inlined_c_variadic` before Inline
+ // MIR for `not_inlined_c_variadic` after Inline
fn not_inlined_c_variadic() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let _1: u32;
2020-11-10 18:00:00 -06:00
scope 1 {
2023-06-06 08:47:00 -05:00
debug s => _1;
2020-11-10 18:00:00 -06:00
}
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
_1 = sum(const 4_u32, const 4_u32, const 30_u32, const 200_u32, const 1000_u32) -> [return: bb1, unwind unreachable];
2020-11-10 18:00:00 -06:00
}
bb1: {
2023-06-06 08:47:00 -05:00
_0 = const ();
StorageDead(_1);
return;
2020-11-10 18:00:00 -06:00
}
}