Remove comments from mir-opt MIR dumps
This commit is contained in:
parent
331249a949
commit
0a1fa411ed
701 changed files with 21882 additions and 24151 deletions
|
@ -2,43 +2,43 @@
|
|||
+ // MIR for `array_len_reborrow` after NormalizeArrayLen
|
||||
|
||||
fn array_len_reborrow(_1: [u8; N]) -> usize {
|
||||
debug arr => _1; // in scope 0 at $DIR/lower_array_len.rs:+0:43: +0:50
|
||||
let mut _0: usize; // return place in scope 0 at $DIR/lower_array_len.rs:+0:64: +0:69
|
||||
let _2: &mut [u8]; // in scope 0 at $DIR/lower_array_len.rs:+1:9: +1:12
|
||||
let mut _3: &mut [u8; N]; // in scope 0 at $DIR/lower_array_len.rs:+1:25: +1:33
|
||||
let mut _4: &mut [u8; N]; // in scope 0 at $DIR/lower_array_len.rs:+1:25: +1:33
|
||||
let mut _6: &[u8]; // in scope 0 at $DIR/lower_array_len.rs:+3:5: +3:14
|
||||
debug arr => _1;
|
||||
let mut _0: usize;
|
||||
let _2: &mut [u8];
|
||||
let mut _3: &mut [u8; N];
|
||||
let mut _4: &mut [u8; N];
|
||||
let mut _6: &[u8];
|
||||
scope 1 {
|
||||
debug arr => _2; // in scope 1 at $DIR/lower_array_len.rs:+1:9: +1:12
|
||||
let _5: &[u8]; // in scope 1 at $DIR/lower_array_len.rs:+2:9: +2:12
|
||||
debug arr => _2;
|
||||
let _5: &[u8];
|
||||
scope 2 {
|
||||
debug arr => _5; // in scope 2 at $DIR/lower_array_len.rs:+2:9: +2:12
|
||||
debug arr => _5;
|
||||
}
|
||||
}
|
||||
|
||||
bb0: {
|
||||
StorageLive(_2); // scope 0 at $DIR/lower_array_len.rs:+1:9: +1:12
|
||||
StorageLive(_3); // scope 0 at $DIR/lower_array_len.rs:+1:25: +1:33
|
||||
StorageLive(_4); // scope 0 at $DIR/lower_array_len.rs:+1:25: +1:33
|
||||
_4 = &mut _1; // scope 0 at $DIR/lower_array_len.rs:+1:25: +1:33
|
||||
_3 = &mut (*_4); // scope 0 at $DIR/lower_array_len.rs:+1:25: +1:33
|
||||
_2 = move _3 as &mut [u8] (Pointer(Unsize)); // scope 0 at $DIR/lower_array_len.rs:+1:25: +1:33
|
||||
StorageDead(_3); // scope 0 at $DIR/lower_array_len.rs:+1:32: +1:33
|
||||
StorageDead(_4); // scope 0 at $DIR/lower_array_len.rs:+1:33: +1:34
|
||||
StorageLive(_5); // scope 1 at $DIR/lower_array_len.rs:+2:9: +2:12
|
||||
_5 = &(*_2); // scope 1 at $DIR/lower_array_len.rs:+2:15: +2:20
|
||||
StorageLive(_6); // scope 2 at $DIR/lower_array_len.rs:+3:5: +3:14
|
||||
_6 = &(*_5); // scope 2 at $DIR/lower_array_len.rs:+3:5: +3:14
|
||||
- _0 = Len((*_6)); // scope 2 at $DIR/lower_array_len.rs:+3:5: +3:14
|
||||
+ _0 = const N; // scope 2 at $DIR/lower_array_len.rs:+3:5: +3:14
|
||||
goto -> bb1; // scope 2 at $DIR/lower_array_len.rs:+3:5: +3:14
|
||||
StorageLive(_2);
|
||||
StorageLive(_3);
|
||||
StorageLive(_4);
|
||||
_4 = &mut _1;
|
||||
_3 = &mut (*_4);
|
||||
_2 = move _3 as &mut [u8] (Pointer(Unsize));
|
||||
StorageDead(_3);
|
||||
StorageDead(_4);
|
||||
StorageLive(_5);
|
||||
_5 = &(*_2);
|
||||
StorageLive(_6);
|
||||
_6 = &(*_5);
|
||||
- _0 = Len((*_6));
|
||||
+ _0 = const N;
|
||||
goto -> bb1;
|
||||
}
|
||||
|
||||
bb1: {
|
||||
StorageDead(_6); // scope 2 at $DIR/lower_array_len.rs:+3:13: +3:14
|
||||
StorageDead(_5); // scope 1 at $DIR/lower_array_len.rs:+4:1: +4:2
|
||||
StorageDead(_2); // scope 0 at $DIR/lower_array_len.rs:+4:1: +4:2
|
||||
return; // scope 0 at $DIR/lower_array_len.rs:+4:2: +4:2
|
||||
StorageDead(_6);
|
||||
StorageDead(_5);
|
||||
StorageDead(_2);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue