2020-09-03 19:00:00 -05:00
|
|
|
- // MIR for `inlined_no_sanitize` before Inline
|
|
|
|
+ // MIR for `inlined_no_sanitize` after Inline
|
|
|
|
|
|
|
|
fn 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:37: +0:37
|
|
|
|
let _1: (); // in scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:18
|
2023-06-08 02:34:53 -05:00
|
|
|
+ scope 1 (inlined no_sanitize) { // at $DIR/inline_compatibility.rs:25:5: 25:18
|
2020-09-03 19:00:00 -05:00
|
|
|
+ }
|
|
|
|
|
|
|
|
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() -> bb1; // scope 0 at $DIR/inline_compatibility.rs:+1:5: +1:18
|
2020-09-03 19:00:00 -05:00
|
|
|
- // mir::Constant
|
2023-06-08 02:34:53 -05:00
|
|
|
- // + span: $DIR/inline_compatibility.rs:25:5: 25:16
|
2022-07-06 09:14:46 -05:00
|
|
|
- // + literal: Const { ty: unsafe fn() {no_sanitize}, val: Value(<ZST>) }
|
2020-09-03 19:00:00 -05:00
|
|
|
- }
|
|
|
|
-
|
|
|
|
- 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:37: +2:2
|
|
|
|
return; // scope 0 at $DIR/inline_compatibility.rs:+2:2: +2:2
|
2020-09-03 19:00:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|