Skip to content

Commit 6abd8f1

Browse files
committed
Rebase fallout.
1 parent 98b86fa commit 6abd8f1

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

tests/mir-opt/jump_threading.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// unit-test: JumpThreading
2-
// compile-flags: -Zmir-enable-passes=+Inline
2+
// compile-flags: -Zmir-enable-passes=+Inline -Zinline-mir
33
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
44

55
#![feature(control_flow_enum)]

tests/mir-opt/while_storage.while_loop.PreCodegen.after.panic-abort.mir

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@ fn while_loop(_1: bool) -> () {
1111
}
1212

1313
bb0: {
14-
goto -> bb1;
15-
}
16-
17-
bb1: {
18-
switchInt(_1) -> [0: bb3, otherwise: bb2];
19-
}
20-
21-
bb2: {
22-
switchInt(_1) -> [0: bb1, otherwise: bb3];
23-
}
24-
25-
bb3: {
2614
return;
2715
}
2816
}

tests/mir-opt/while_storage.while_loop.PreCodegen.after.panic-unwind.mir

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@ fn while_loop(_1: bool) -> () {
1111
}
1212

1313
bb0: {
14-
goto -> bb1;
15-
}
16-
17-
bb1: {
18-
switchInt(_1) -> [0: bb3, otherwise: bb2];
19-
}
20-
21-
bb2: {
22-
switchInt(_1) -> [0: bb1, otherwise: bb3];
23-
}
24-
25-
bb3: {
2614
return;
2715
}
2816
}

0 commit comments

Comments
 (0)