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

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

26 lines
1.3 KiB
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() -> () {
2022-11-02 16:54:49 -05:00
let mut _0: (); // return place in scope 0 at $DIR/inline_compatibility.rs:+0:40: +0:40
let _1: u32; // in scope 0 at $DIR/inline_compatibility.rs:+1:9: +1:10
2020-11-10 18:00:00 -06:00
scope 1 {
2022-11-02 16:54:49 -05:00
debug s => _1; // in scope 1 at $DIR/inline_compatibility.rs:+1:9: +1:10
2020-11-10 18:00:00 -06:00
}
bb0: {
2022-11-02 16:54:49 -05:00
StorageLive(_1); // scope 0 at $DIR/inline_compatibility.rs:+1:9: +1:10
_1 = sum(const 4_u32, const 4_u32, const 30_u32, const 200_u32, const 1000_u32) -> bb1; // scope 0 at $DIR/inline_compatibility.rs:+1:13: +1:52
2020-11-10 18:00:00 -06:00
// mir::Constant
2022-11-02 16:54:49 -05:00
// + span: $DIR/inline_compatibility.rs:42:13: 42:16
2022-07-06 09:14:46 -05:00
// + literal: Const { ty: unsafe extern "C" fn(u32, ...) -> u32 {sum}, val: Value(<ZST>) }
2020-11-10 18:00:00 -06:00
}
bb1: {
2022-11-02 16:54:49 -05:00
_0 = const (); // scope 0 at $DIR/inline_compatibility.rs:+0:40: +2:2
StorageDead(_1); // scope 0 at $DIR/inline_compatibility.rs:+2:1: +2:2
return; // scope 0 at $DIR/inline_compatibility.rs:+2:2: +2:2
2020-11-10 18:00:00 -06:00
}
}