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

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

23 lines
1.2 KiB
Diff
Raw Normal View History

- // MIR for `not_inlined_no_sanitize` before Inline
+ // MIR for `not_inlined_no_sanitize` after Inline
fn not_inlined_no_sanitize() -> () {
2022-11-02 16:54:49 -05:00
let mut _0: (); // return place in scope 0 at $DIR/inline_compatibility.rs:+0:41: +0:41
let _1: (); // in scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:18
bb0: {
2022-11-02 16:54:49 -05:00
StorageLive(_1); // scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:18
_1 = no_sanitize() -> [return: bb1, unwind unreachable]; // scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:18
// mir::Constant
// + span: $DIR/inline_compatibility.rs:30:5: 30:16
2022-07-06 09:14:46 -05:00
// + literal: Const { ty: unsafe fn() {no_sanitize}, val: Value(<ZST>) }
}
bb1: {
2022-11-02 16:54:49 -05:00
StorageDead(_1); // scope 0 at $DIR/inline_compatibility.rs:+1:18: +1:19
_0 = const (); // scope 0 at $DIR/inline_compatibility.rs:+0:41: +2:2
return; // scope 0 at $DIR/inline_compatibility.rs:+2:2: +2:2
}
}