]> git.lizzy.rs Git - rust.git/blobdiff - src/test/mir-opt/simple_match.match_bool.mir_map.0.32bit.mir
Rollup merge of #100184 - Kixunil:stabilize_ptr_const_cast, r=m-ou-se
[rust.git] / src / test / mir-opt / simple_match.match_bool.mir_map.0.32bit.mir
index c189c18d2d0e741414580ee9ecb92907a77f27c3..3bef6aa0579a77a32611f3130eb95f8b46dc15a3 100644 (file)
@@ -1,29 +1,29 @@
 // MIR for `match_bool` 0 mir_map
 
 fn match_bool(_1: bool) -> usize {
-    debug x => _1;                       // in scope 0 at $DIR/simple-match.rs:5:15: 5:16
-    let mut _0: usize;                   // return place in scope 0 at $DIR/simple-match.rs:5:27: 5:32
+    debug x => _1;                       // in scope 0 at $DIR/simple-match.rs:+0:15: +0:16
+    let mut _0: usize;                   // return place in scope 0 at $DIR/simple-match.rs:+0:27: +0:32
 
     bb0: {
-        FakeRead(ForMatchedPlace(None), _1); // scope 0 at $DIR/simple-match.rs:6:11: 6:12
-        switchInt(_1) -> [false: bb2, otherwise: bb1]; // scope 0 at $DIR/simple-match.rs:6:5: 6:12
+        FakeRead(ForMatchedPlace(None), _1); // scope 0 at $DIR/simple-match.rs:+1:11: +1:12
+        switchInt(_1) -> [false: bb2, otherwise: bb1]; // scope 0 at $DIR/simple-match.rs:+1:5: +1:12
     }
 
     bb1: {
-        falseEdge -> [real: bb3, imaginary: bb2]; // scope 0 at $DIR/simple-match.rs:7:9: 7:13
+        falseEdge -> [real: bb3, imaginary: bb2]; // scope 0 at $DIR/simple-match.rs:+2:9: +2:13
     }
 
     bb2: {
-        _0 = const 20_usize;             // scope 0 at $DIR/simple-match.rs:8:14: 8:16
-        goto -> bb4;                     // scope 0 at $DIR/simple-match.rs:8:14: 8:16
+        _0 = const 20_usize;             // scope 0 at $DIR/simple-match.rs:+3:14: +3:16
+        goto -> bb4;                     // scope 0 at $DIR/simple-match.rs:+3:14: +3:16
     }
 
     bb3: {
-        _0 = const 10_usize;             // scope 0 at $DIR/simple-match.rs:7:17: 7:19
-        goto -> bb4;                     // scope 0 at $DIR/simple-match.rs:7:17: 7:19
+        _0 = const 10_usize;             // scope 0 at $DIR/simple-match.rs:+2:17: +2:19
+        goto -> bb4;                     // scope 0 at $DIR/simple-match.rs:+2:17: +2:19
     }
 
     bb4: {
-        return;                          // scope 0 at $DIR/simple-match.rs:10:2: 10:2
+        return;                          // scope 0 at $DIR/simple-match.rs:+5:2: +5:2
     }
 }