summary refs log tree commit diff
path: root/src/test/mir-opt/inline/inline_compatibility.inlined_target_feature.Inline.diff
blob: f55eae6c50a5f4855f99c06e7490b5d495844423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- // MIR for `inlined_target_feature` before Inline
+ // MIR for `inlined_target_feature` after Inline
  
  fn inlined_target_feature() -> () {
      let mut _0: ();                      // return place in scope 0 at $DIR/inline-compatibility.rs:13:40: 13:40
      let _1: ();                          // in scope 0 at $DIR/inline-compatibility.rs:14:5: 14:21
+     scope 1 {
+     }
  
      bb0: {
          StorageLive(_1);                 // scope 0 at $DIR/inline-compatibility.rs:14:5: 14:21
-         _1 = target_feature() -> bb1;    // scope 0 at $DIR/inline-compatibility.rs:14:5: 14:21
-                                          // mir::Constant
-                                          // + span: $DIR/inline-compatibility.rs:14:5: 14:19
-                                          // + literal: Const { ty: unsafe fn() {target_feature}, val: Value(Scalar(<ZST>)) }
-     }
- 
-     bb1: {
+         _1 = const ();                   // scope 1 at $DIR/inline-compatibility.rs:35:32: 35:34
          StorageDead(_1);                 // scope 0 at $DIR/inline-compatibility.rs:14:21: 14:22
          _0 = const ();                   // scope 0 at $DIR/inline-compatibility.rs:13:40: 15:2
          return;                          // scope 0 at $DIR/inline-compatibility.rs:15:2: 15:2
      }
  }