]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/enum_cast.boo.mir_map.0.mir
bless mir opt tests
[rust.git] / src / test / mir-opt / enum_cast.boo.mir_map.0.mir
1 // MIR for `boo` 0 mir_map
2
3 fn boo(_1: Boo) -> usize {
4     debug boo => _1;                     // in scope 0 at $DIR/enum_cast.rs:+0:8: +0:11
5     let mut _0: usize;                   // return place in scope 0 at $DIR/enum_cast.rs:+0:21: +0:26
6     let mut _2: u8;                      // in scope 0 at $DIR/enum_cast.rs:+1:5: +1:8
7
8     bb0: {
9         _2 = discriminant(_1);           // scope 0 at $DIR/enum_cast.rs:+1:5: +1:17
10         _0 = move _2 as usize (Misc);    // scope 0 at $DIR/enum_cast.rs:+1:5: +1:17
11         return;                          // scope 0 at $DIR/enum_cast.rs:+2:2: +2:2
12     }
13 }