about summary refs log tree commit diff
path: root/tests/mir-opt/inline/forced_inherent_dead_code.caller.ForceInline.panic-abort.diff
blob: edaf2820d85c3da59303beb5db47a880393010ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- // MIR for `caller` before ForceInline
+ // MIR for `caller` after ForceInline
  
  fn caller() -> () {
      let mut _0: ();
      let _1: ();
+     scope 1 (inlined Foo::callee_forced) {
+     }
  
      bb0: {
          StorageLive(_1);
-         _1 = Foo::callee_forced() -> [return: bb1, unwind unreachable];
-     }
- 
-     bb1: {
          StorageDead(_1);
          _0 = const ();
          return;
      }
  }