about summary refs log tree commit diff
path: root/src/test/mir-opt/inline/asm_unwind.main.Inline.diff
diff options
context:
space:
mode:
authorAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2023-01-05 09:13:28 +0100
committerAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2023-01-11 09:32:08 +0000
commitcf2dff2b1e3fa55fa5415d524200070d0d7aacfe (patch)
tree40a88d9a46aaf3e8870676eb2538378b75a263eb /src/test/mir-opt/inline/asm_unwind.main.Inline.diff
parentca855e6e42787ecd062d81d53336fe6788ef51a9 (diff)
downloadrust-cf2dff2b1e3fa55fa5415d524200070d0d7aacfe.tar.gz
rust-cf2dff2b1e3fa55fa5415d524200070d0d7aacfe.zip
Move /src/test to /tests
Diffstat (limited to 'src/test/mir-opt/inline/asm_unwind.main.Inline.diff')
-rw-r--r--src/test/mir-opt/inline/asm_unwind.main.Inline.diff45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/test/mir-opt/inline/asm_unwind.main.Inline.diff b/src/test/mir-opt/inline/asm_unwind.main.Inline.diff
deleted file mode 100644
index f1b62ac38ba..00000000000
--- a/src/test/mir-opt/inline/asm_unwind.main.Inline.diff
+++ /dev/null
@@ -1,45 +0,0 @@
-- // MIR for `main` before Inline
-+ // MIR for `main` after Inline
-  
-  fn main() -> () {
-      let mut _0: ();                      // return place in scope 0 at $DIR/asm_unwind.rs:+0:15: +0:15
-      let _1: ();                          // in scope 0 at $DIR/asm_unwind.rs:+1:5: +1:10
-+     scope 1 (inlined foo) {              // at $DIR/asm_unwind.rs:21:5: 21:10
-+         let _2: D;                       // in scope 1 at $DIR/asm_unwind.rs:15:9: 15:11
-+         scope 2 {
-+             debug _d => _2;              // in scope 2 at $DIR/asm_unwind.rs:15:9: 15:11
-+             scope 3 {
-+             }
-+         }
-+     }
-  
-      bb0: {
-          StorageLive(_1);                 // scope 0 at $DIR/asm_unwind.rs:+1:5: +1:10
--         _1 = foo() -> bb1;               // scope 0 at $DIR/asm_unwind.rs:+1:5: +1:10
--                                          // mir::Constant
--                                          // + span: $DIR/asm_unwind.rs:21:5: 21:8
--                                          // + literal: Const { ty: fn() {foo}, val: Value(<ZST>) }
-+         StorageLive(_2);                 // scope 1 at $DIR/asm_unwind.rs:15:9: 15:11
-+         asm!("", options(MAY_UNWIND)) -> [return: bb1, unwind: bb3]; // scope 3 at $DIR/asm_unwind.rs:16:14: 16:54
-      }
-  
-      bb1: {
-+         drop(_2) -> bb2;                 // scope 1 at $DIR/asm_unwind.rs:17:1: 17:2
-+     }
-+ 
-+     bb2: {
-+         StorageDead(_2);                 // scope 1 at $DIR/asm_unwind.rs:17:1: 17:2
-          StorageDead(_1);                 // scope 0 at $DIR/asm_unwind.rs:+1:10: +1:11
-          _0 = const ();                   // scope 0 at $DIR/asm_unwind.rs:+0:15: +2:2
-          return;                          // scope 0 at $DIR/asm_unwind.rs:+2:2: +2:2
-+     }
-+ 
-+     bb3 (cleanup): {
-+         drop(_2) -> bb4;                 // scope 1 at $DIR/asm_unwind.rs:17:1: 17:2
-+     }
-+ 
-+     bb4 (cleanup): {
-+         resume;                          // scope 1 at $DIR/asm_unwind.rs:14:1: 17:2
-      }
-  }
-