summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 18:31:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 18:31:44 +0000
commitc23a457e72abe608715ac76f076f47dc42af07a5 (patch)
tree2772049aaf84b5c9d0ed12ec8d86812f7a7904b6 /tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff
parentReleasing progress-linux version 1.73.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-c23a457e72abe608715ac76f076f47dc42af07a5.tar.xz
rustc-c23a457e72abe608715ac76f076f47dc42af07a5.zip
Merging upstream version 1.74.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff')
-rw-r--r--tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff b/tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff
index d1dbc7089..1768298d5 100644
--- a/tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff
+++ b/tests/mir-opt/const_goto_storage.match_nested_if.ConstGoto.diff
@@ -43,31 +43,33 @@
}
bb3: {
-- StorageDead(_6);
- switchInt(move _5) -> [0: bb5, otherwise: bb4];
- }
-
- bb4: {
+- StorageDead(_6);
- _4 = const true;
- goto -> bb6;
- }
-
- bb5: {
+- StorageDead(_6);
- _4 = const false;
- goto -> bb6;
- }
-
- bb6: {
-- StorageDead(_5);
- switchInt(move _4) -> [0: bb8, otherwise: bb7];
- }
-
- bb7: {
+- StorageDead(_5);
- _3 = const true;
- goto -> bb9;
- }
-
- bb8: {
+- StorageDead(_5);
- _3 = const false;
- goto -> bb9;
- }