Skip to content

Commit 5eff019

Browse files
committed
Update basic_assignment test to reflect small changes to codegen.
1 parent 9dd5527 commit 5eff019

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/test/mir-opt/basic_assignment.rs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn main() {
5050
// StorageLive(_6);
5151
// StorageLive(_7);
5252
// _7 = _4;
53-
// replace(_6 <- _7) -> [return: bb5, unwind: bb4];
53+
// replace(_6 <- _7) -> [return: bb6, unwind: bb7];
5454
// }
5555
// bb1: {
5656
// resume;
@@ -59,24 +59,30 @@ fn main() {
5959
// drop(_4) -> bb1;
6060
// }
6161
// bb3: {
62-
// drop(_6) -> bb2;
62+
// goto -> bb2;
6363
// }
6464
// bb4: {
65-
// drop(_7) -> bb3;
65+
// drop(_6) -> bb3;
6666
// }
6767
// bb5: {
68-
// drop(_7) -> [return: bb6, unwind: bb3];
68+
// goto -> bb4;
6969
// }
7070
// bb6: {
71+
// drop(_7) -> [return: bb8, unwind: bb4];
72+
// }
73+
// bb7: {
74+
// drop(_7) -> bb5;
75+
// }
76+
// bb8: {
7177
// StorageDead(_7);
7278
// _0 = ();
73-
// drop(_6) -> [return: bb7, unwind: bb2];
79+
// drop(_6) -> [return: bb9, unwind: bb2];
7480
// }
75-
// bb7: {
81+
// bb9: {
7682
// StorageDead(_6);
77-
// drop(_4) -> bb8;
83+
// drop(_4) -> bb10;
7884
// }
79-
// bb8: {
85+
// bb10: {
8086
// StorageDead(_4);
8187
// StorageDead(_2);
8288
// StorageDead(_1);

0 commit comments

Comments
 (0)