about summary refs log tree commit diff
path: root/tests/mir-opt/inline/forced_dead_code.caller.ForceInline.panic-unwind.diff
blob: 7b70fd665666a119c9f0bdbb349efc5c31e0c7f6 (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 callee_forced) {
+     }
  
      bb0: {
          StorageLive(_1);
-         _1 = callee_forced() -> [return: bb1, unwind continue];
-     }
- 
-     bb1: {
          StorageDead(_1);
          _0 = const ();
          return;
      }
  }