]> git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/while_let_loops.change_loop_body.PreCodegen.after.32bit.mir
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / mir-opt / while_let_loops.change_loop_body.PreCodegen.after.32bit.mir
1 // MIR for `change_loop_body` after PreCodegen
2
3 fn change_loop_body() -> () {
4 let mut _0: (); // return place in scope 0 at $DIR/while_let_loops.rs:5:27: 5:27
5 let mut _1: i32; // in scope 0 at $DIR/while_let_loops.rs:6:9: 6:15
6 let mut _2: std::option::Option<u32>; // in scope 0 at $DIR/while_let_loops.rs:7:28: 7:32
7 scope 1 {
8 debug _x => _1; // in scope 1 at $DIR/while_let_loops.rs:6:9: 6:15
9 }
10
11 bb0: {
12 StorageLive(_1); // scope 0 at $DIR/while_let_loops.rs:6:9: 6:15
13 _1 = const 0_i32; // scope 0 at $DIR/while_let_loops.rs:6:18: 6:19
14 StorageLive(_2); // scope 1 at $DIR/while_let_loops.rs:7:28: 7:32
15 discriminant(_2) = 0; // scope 1 at $DIR/while_let_loops.rs:7:28: 7:32
16 _0 = const (); // scope 1 at $DIR/while_let_loops.rs:7:5: 10:6
17 StorageDead(_2); // scope 1 at $DIR/while_let_loops.rs:10:5: 10:6
18 StorageDead(_1); // scope 0 at $DIR/while_let_loops.rs:11:1: 11:2
19 return; // scope 0 at $DIR/while_let_loops.rs:11:2: 11:2
20 }
21 }