summary refs log tree commit diff
path: root/src/test/mir-opt/while_let_loops.change_loop_body.PreCodegen.after.32bit.mir
blob: b6767077d429a1a1940cfd6e7205798638e3dbb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// MIR for `change_loop_body` after PreCodegen

fn change_loop_body() -> () {
    let mut _0: ();                      // return place in scope 0 at $DIR/while_let_loops.rs:5:27: 5:27
    let mut _1: i32;                     // in scope 0 at $DIR/while_let_loops.rs:6:9: 6:15
    scope 1 {
        debug _x => _1;                  // in scope 1 at $DIR/while_let_loops.rs:6:9: 6:15
    }

    bb0: {
        StorageLive(_1);                 // scope 0 at $DIR/while_let_loops.rs:6:9: 6:15
        _1 = const 0_i32;                // scope 0 at $DIR/while_let_loops.rs:6:18: 6:19
        StorageDead(_1);                 // scope 0 at $DIR/while_let_loops.rs:11:1: 11:2
        return;                          // scope 0 at $DIR/while_let_loops.rs:11:2: 11:2
    }
}