mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-13 18:37:33 +00:00
22 lines
412 B
Diff
22 lines
412 B
Diff
![]() |
- // MIR for `caller` before ForceInline
|
||
|
+ // MIR for `caller` after ForceInline
|
||
|
|
||
|
fn caller() -> () {
|
||
|
let mut _0: ();
|
||
|
let _1: ();
|
||
|
+ scope 1 (inlined callee_forced) {
|
||
|
+ }
|
||
|
|
||
|
bb0: {
|
||
|
StorageLive(_1);
|
||
|
- _1 = callee_forced() -> [return: bb1, unwind continue];
|
||
|
- }
|
||
|
-
|
||
|
- bb1: {
|
||
|
StorageDead(_1);
|
||
|
_0 = const ();
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
|