about summary refs log tree commit diff
path: root/src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-07-27 20:47:42 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-07-28 14:24:44 +0200
commit11c0280798da8f4d65dec25764237d2354e65273 (patch)
tree61bebb017af06a253d2268f7c1d811d0965d33dd /src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff
parent7cf7ead0bc840b097b770773b7a58d99bf3f5bdf (diff)
downloadrust-11c0280798da8f4d65dec25764237d2354e65273.tar.gz
rust-11c0280798da8f4d65dec25764237d2354e65273.zip
bless mir opt tests
Diffstat (limited to 'src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff')
-rw-r--r--src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff b/src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff
index 05bd99b62cd..e3375e9e15c 100644
--- a/src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff
+++ b/src/test/mir-opt/inline/inline_instruction_set.default.Inline.diff
@@ -2,47 +2,47 @@
 + // MIR for `default` after Inline
   
   fn default() -> () {
-      let mut _0: ();                      // return place in scope 0 at $DIR/inline-instruction-set.rs:50:18: 50:18
-      let _1: ();                          // in scope 0 at $DIR/inline-instruction-set.rs:51:5: 51:26
-      let _2: ();                          // in scope 0 at $DIR/inline-instruction-set.rs:52:5: 52:26
-      let _3: ();                          // in scope 0 at $DIR/inline-instruction-set.rs:53:5: 53:30
+      let mut _0: ();                      // return place in scope 0 at $DIR/inline-instruction-set.rs:+0:18: +0:18
+      let _1: ();                          // in scope 0 at $DIR/inline-instruction-set.rs:+1:5: +1:26
+      let _2: ();                          // in scope 0 at $DIR/inline-instruction-set.rs:+2:5: +2:26
+      let _3: ();                          // in scope 0 at $DIR/inline-instruction-set.rs:+3:5: +3:30
 +     scope 1 (inlined instruction_set_default) { // at $DIR/inline-instruction-set.rs:53:5: 53:30
 +     }
   
       bb0: {
-          StorageLive(_1);                 // scope 0 at $DIR/inline-instruction-set.rs:51:5: 51:26
-          _1 = instruction_set_a32() -> bb1; // scope 0 at $DIR/inline-instruction-set.rs:51:5: 51:26
+          StorageLive(_1);                 // scope 0 at $DIR/inline-instruction-set.rs:+1:5: +1:26
+          _1 = instruction_set_a32() -> bb1; // scope 0 at $DIR/inline-instruction-set.rs:+1:5: +1:26
                                            // mir::Constant
                                            // + span: $DIR/inline-instruction-set.rs:51:5: 51:24
                                            // + literal: Const { ty: fn() {instruction_set_a32}, val: Value(<ZST>) }
       }
   
       bb1: {
-          StorageDead(_1);                 // scope 0 at $DIR/inline-instruction-set.rs:51:26: 51:27
-          StorageLive(_2);                 // scope 0 at $DIR/inline-instruction-set.rs:52:5: 52:26
-          _2 = instruction_set_t32() -> bb2; // scope 0 at $DIR/inline-instruction-set.rs:52:5: 52:26
+          StorageDead(_1);                 // scope 0 at $DIR/inline-instruction-set.rs:+1:26: +1:27
+          StorageLive(_2);                 // scope 0 at $DIR/inline-instruction-set.rs:+2:5: +2:26
+          _2 = instruction_set_t32() -> bb2; // scope 0 at $DIR/inline-instruction-set.rs:+2:5: +2:26
                                            // mir::Constant
                                            // + span: $DIR/inline-instruction-set.rs:52:5: 52:24
                                            // + literal: Const { ty: fn() {instruction_set_t32}, val: Value(<ZST>) }
       }
   
       bb2: {
-          StorageDead(_2);                 // scope 0 at $DIR/inline-instruction-set.rs:52:26: 52:27
-          StorageLive(_3);                 // scope 0 at $DIR/inline-instruction-set.rs:53:5: 53:30
--         _3 = instruction_set_default() -> bb3; // scope 0 at $DIR/inline-instruction-set.rs:53:5: 53:30
+          StorageDead(_2);                 // scope 0 at $DIR/inline-instruction-set.rs:+2:26: +2:27
+          StorageLive(_3);                 // scope 0 at $DIR/inline-instruction-set.rs:+3:5: +3:30
+-         _3 = instruction_set_default() -> bb3; // scope 0 at $DIR/inline-instruction-set.rs:+3:5: +3:30
 -                                          // mir::Constant
 -                                          // + span: $DIR/inline-instruction-set.rs:53:5: 53:28
 -                                          // + literal: Const { ty: fn() {instruction_set_default}, val: Value(<ZST>) }
 -     }
 - 
 -     bb3: {
-          StorageDead(_3);                 // scope 0 at $DIR/inline-instruction-set.rs:53:30: 53:31
-          _0 = const ();                   // scope 0 at $DIR/inline-instruction-set.rs:50:18: 54:2
-          return;                          // scope 0 at $DIR/inline-instruction-set.rs:54:2: 54:2
+          StorageDead(_3);                 // scope 0 at $DIR/inline-instruction-set.rs:+3:30: +3:31
+          _0 = const ();                   // scope 0 at $DIR/inline-instruction-set.rs:+0:18: +4:2
+          return;                          // scope 0 at $DIR/inline-instruction-set.rs:+4:2: +4:2
 +     }
 + 
 +     bb3 (cleanup): {
-+         resume;                          // scope 0 at $DIR/inline-instruction-set.rs:50:1: 54:2
++         resume;                          // scope 0 at $DIR/inline-instruction-set.rs:+0:1: +4:2
       }
   }