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