2020-10-04 08:52:14 -05:00
|
|
|
- // MIR for `is_line_doc_comment_2` before DeduplicateBlocks
|
|
|
|
+ // MIR for `is_line_doc_comment_2` after DeduplicateBlocks
|
|
|
|
|
|
|
|
fn is_line_doc_comment_2(_1: &str) -> bool {
|
2022-07-27 13:47:42 -05:00
|
|
|
debug s => _1; // in scope 0 at $DIR/deduplicate_blocks.rs:+0:36: +0:37
|
|
|
|
let mut _0: bool; // return place in scope 0 at $DIR/deduplicate_blocks.rs:+0:48: +0:52
|
|
|
|
let mut _2: &[u8]; // in scope 0 at $DIR/deduplicate_blocks.rs:+1:11: +1:23
|
|
|
|
let mut _3: &str; // in scope 0 at $DIR/deduplicate_blocks.rs:+1:11: +1:23
|
|
|
|
let mut _4: usize; // in scope 0 at $DIR/deduplicate_blocks.rs:+3:9: +3:31
|
2022-08-02 19:44:25 -05:00
|
|
|
let mut _5: usize; // in scope 0 at $DIR/deduplicate_blocks.rs:+3:9: +3:31
|
|
|
|
let mut _6: bool; // in scope 0 at $DIR/deduplicate_blocks.rs:+3:9: +3:31
|
|
|
|
let mut _7: usize; // in scope 0 at $DIR/deduplicate_blocks.rs:+2:9: +2:37
|
|
|
|
let mut _8: usize; // in scope 0 at $DIR/deduplicate_blocks.rs:+2:9: +2:37
|
|
|
|
let mut _9: bool; // in scope 0 at $DIR/deduplicate_blocks.rs:+2:9: +2:37
|
2020-10-04 08:52:14 -05:00
|
|
|
|
|
|
|
bb0: {
|
2022-07-27 13:47:42 -05:00
|
|
|
StorageLive(_2); // scope 0 at $DIR/deduplicate_blocks.rs:+1:11: +1:23
|
|
|
|
StorageLive(_3); // scope 0 at $DIR/deduplicate_blocks.rs:+1:11: +1:23
|
2022-08-02 19:44:25 -05:00
|
|
|
_3 = &(*_1); // scope 0 at $DIR/deduplicate_blocks.rs:+1:11: +1:23
|
2023-06-08 02:34:53 -05:00
|
|
|
_2 = core::str::<impl str>::as_bytes(move _3) -> [return: bb1, unwind unreachable]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:11: +1:23
|
2020-10-04 08:52:14 -05:00
|
|
|
// mir::Constant
|
2023-04-05 03:44:20 -05:00
|
|
|
// + span: $DIR/deduplicate_blocks.rs:6:13: 6:21
|
2022-09-21 10:57:30 -05:00
|
|
|
// + literal: Const { ty: for<'a> fn(&'a str) -> &'a [u8] {core::str::<impl str>::as_bytes}, val: Value(<ZST>) }
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2022-08-02 19:44:25 -05:00
|
|
|
StorageDead(_3); // scope 0 at $DIR/deduplicate_blocks.rs:+1:22: +1:23
|
|
|
|
_7 = Len((*_2)); // scope 0 at $DIR/deduplicate_blocks.rs:+2:9: +2:37
|
|
|
|
_8 = const 4_usize; // scope 0 at $DIR/deduplicate_blocks.rs:+2:9: +2:37
|
|
|
|
_9 = Ge(move _7, move _8); // scope 0 at $DIR/deduplicate_blocks.rs:+2:9: +2:37
|
2022-12-03 18:03:27 -06:00
|
|
|
switchInt(move _9) -> [0: bb6, otherwise: bb2]; // scope 0 at $DIR/deduplicate_blocks.rs:+2:9: +2:37
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb2: {
|
2022-12-03 18:03:27 -06:00
|
|
|
switchInt((*_2)[0 of 4]) -> [47: bb3, otherwise: bb6]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb3: {
|
2022-12-03 18:03:27 -06:00
|
|
|
switchInt((*_2)[1 of 4]) -> [47: bb4, otherwise: bb6]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb4: {
|
2022-12-03 18:03:27 -06:00
|
|
|
switchInt((*_2)[2 of 4]) -> [47: bb5, otherwise: bb6]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb5: {
|
2022-12-03 18:03:27 -06:00
|
|
|
- switchInt((*_2)[3 of 4]) -> [47: bb11, otherwise: bb6]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
|
|
|
+ switchInt((*_2)[3 of 4]) -> [47: bb10, otherwise: bb6]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb6: {
|
2022-08-02 19:44:25 -05:00
|
|
|
_4 = Len((*_2)); // scope 0 at $DIR/deduplicate_blocks.rs:+3:9: +3:31
|
|
|
|
_5 = const 3_usize; // scope 0 at $DIR/deduplicate_blocks.rs:+3:9: +3:31
|
|
|
|
_6 = Ge(move _4, move _5); // scope 0 at $DIR/deduplicate_blocks.rs:+3:9: +3:31
|
2022-12-03 18:03:27 -06:00
|
|
|
switchInt(move _6) -> [0: bb10, otherwise: bb7]; // scope 0 at $DIR/deduplicate_blocks.rs:+3:9: +3:31
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb7: {
|
2022-12-03 18:03:27 -06:00
|
|
|
switchInt((*_2)[0 of 3]) -> [47: bb8, otherwise: bb10]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb8: {
|
2022-12-03 18:03:27 -06:00
|
|
|
switchInt((*_2)[1 of 3]) -> [47: bb9, otherwise: bb10]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb9: {
|
2022-12-03 18:03:27 -06:00
|
|
|
- switchInt((*_2)[2 of 3]) -> [47: bb12, 33: bb13, otherwise: bb10]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
|
|
|
+ switchInt((*_2)[2 of 3]) -> [47: bb11, 33: bb11, otherwise: bb10]; // scope 0 at $DIR/deduplicate_blocks.rs:+1:5: +1:23
|
2022-08-02 19:44:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb10: {
|
2022-07-27 13:47:42 -05:00
|
|
|
- _0 = const false; // scope 0 at $DIR/deduplicate_blocks.rs:+5:14: +5:19
|
2022-08-02 19:44:25 -05:00
|
|
|
- goto -> bb14; // scope 0 at $DIR/deduplicate_blocks.rs:+5:14: +5:19
|
2020-10-04 08:52:14 -05:00
|
|
|
- }
|
|
|
|
-
|
2022-08-02 19:44:25 -05:00
|
|
|
- bb11: {
|
2022-07-27 13:47:42 -05:00
|
|
|
_0 = const false; // scope 0 at $DIR/deduplicate_blocks.rs:+2:41: +2:46
|
2022-08-02 19:44:25 -05:00
|
|
|
- goto -> bb14; // scope 0 at $DIR/deduplicate_blocks.rs:+2:41: +2:46
|
|
|
|
+ goto -> bb12; // scope 0 at $DIR/deduplicate_blocks.rs:+2:41: +2:46
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
2022-08-02 19:44:25 -05:00
|
|
|
- bb12: {
|
2022-07-27 13:47:42 -05:00
|
|
|
- _0 = const true; // scope 0 at $DIR/deduplicate_blocks.rs:+3:35: +3:39
|
2022-08-02 19:44:25 -05:00
|
|
|
- goto -> bb14; // scope 0 at $DIR/deduplicate_blocks.rs:+3:35: +3:39
|
2020-10-04 08:52:14 -05:00
|
|
|
- }
|
|
|
|
-
|
|
|
|
- bb13: {
|
|
|
|
+ bb11: {
|
2022-08-02 19:44:25 -05:00
|
|
|
_0 = const true; // scope 0 at $DIR/deduplicate_blocks.rs:+4:35: +4:39
|
|
|
|
- goto -> bb14; // scope 0 at $DIR/deduplicate_blocks.rs:+4:35: +4:39
|
|
|
|
+ goto -> bb12; // scope 0 at $DIR/deduplicate_blocks.rs:+4:35: +4:39
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
- bb14: {
|
|
|
|
+ bb12: {
|
2022-08-02 19:44:25 -05:00
|
|
|
StorageDead(_2); // scope 0 at $DIR/deduplicate_blocks.rs:+7:1: +7:2
|
|
|
|
return; // scope 0 at $DIR/deduplicate_blocks.rs:+7:2: +7:2
|
2020-10-04 08:52:14 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|