summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
commitd1b2d29528b7794b41e66fc2136e395a02f8529b (patch)
treea4a17504b260206dec3cf55b2dca82929a348ac2 /tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff
parentReleasing progress-linux version 1.72.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.tar.xz
rustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.zip
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff')
-rw-r--r--tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff38
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff b/tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff
index 7c2503f9d..aca7fe95c 100644
--- a/tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff
+++ b/tests/mir-opt/issue_41888.main.ElaborateDrops.panic-abort.diff
@@ -54,8 +54,12 @@
}
bb4 (cleanup): {
++ _7 = const true;
++ _8 = const true;
++ _9 = const true;
_1 = move _3;
- drop(_3) -> [return: bb11, unwind terminate];
+- drop(_3) -> [return: bb11, unwind terminate];
++ goto -> bb11;
}
bb5: {
@@ -86,7 +90,7 @@
bb9: {
StorageDead(_2);
- drop(_1) -> [return: bb10, unwind: bb12];
-+ goto -> bb19;
++ goto -> bb18;
}
bb10: {
@@ -106,43 +110,39 @@
resume;
+ }
+
-+ bb13 (cleanup): {
-+ unreachable;
-+ }
-+
-+ bb14: {
++ bb13: {
+ _7 = const false;
+ goto -> bb10;
+ }
+
-+ bb15 (cleanup): {
++ bb14 (cleanup): {
+ goto -> bb12;
+ }
+
-+ bb16: {
-+ drop(_1) -> [return: bb14, unwind: bb12];
++ bb15: {
++ drop(_1) -> [return: bb13, unwind: bb12];
+ }
+
-+ bb17 (cleanup): {
++ bb16 (cleanup): {
+ drop(_1) -> [return: bb12, unwind terminate];
+ }
+
-+ bb18: {
++ bb17: {
+ _10 = discriminant(_1);
-+ switchInt(move _10) -> [0: bb14, otherwise: bb16];
++ switchInt(move _10) -> [0: bb13, otherwise: bb15];
+ }
+
-+ bb19: {
-+ switchInt(_7) -> [0: bb14, otherwise: bb18];
++ bb18: {
++ switchInt(_7) -> [0: bb13, otherwise: bb17];
+ }
+
-+ bb20 (cleanup): {
++ bb19 (cleanup): {
+ _11 = discriminant(_1);
-+ switchInt(move _11) -> [0: bb15, otherwise: bb17];
++ switchInt(move _11) -> [0: bb14, otherwise: bb16];
+ }
+
-+ bb21 (cleanup): {
-+ switchInt(_7) -> [0: bb12, otherwise: bb20];
++ bb20 (cleanup): {
++ switchInt(_7) -> [0: bb12, otherwise: bb19];
}
}