about summary refs log tree commit diff
path: root/src/test/mir-opt/basic_assignment.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2017-05-29 11:46:02 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2017-06-12 13:06:42 +0200
commit5eff019779c5875c53c7fc39a72603cf8825e38d (patch)
tree19fe86187544b32d32111924a37f8758e1173cd5 /src/test/mir-opt/basic_assignment.rs
parent9dd55276a6249110ce6aa52e450612f716f27149 (diff)
downloadrust-5eff019779c5875c53c7fc39a72603cf8825e38d.tar.gz
rust-5eff019779c5875c53c7fc39a72603cf8825e38d.zip
Update basic_assignment test to reflect small changes to codegen.
Diffstat (limited to 'src/test/mir-opt/basic_assignment.rs')
-rw-r--r--src/test/mir-opt/basic_assignment.rs22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/test/mir-opt/basic_assignment.rs b/src/test/mir-opt/basic_assignment.rs
index e4eb1aeaf9b..ef5158a403a 100644
--- a/src/test/mir-opt/basic_assignment.rs
+++ b/src/test/mir-opt/basic_assignment.rs
@@ -50,7 +50,7 @@ fn main() {
 //         StorageLive(_6);
 //         StorageLive(_7);
 //         _7 = _4;
-//         replace(_6 <- _7) -> [return: bb5, unwind: bb4];
+//         replace(_6 <- _7) -> [return: bb6, unwind: bb7];
 //     }
 //     bb1: {
 //         resume;
@@ -59,24 +59,30 @@ fn main() {
 //         drop(_4) -> bb1;
 //     }
 //     bb3: {
-//         drop(_6) -> bb2;
+//         goto -> bb2;
 //     }
 //     bb4: {
-//         drop(_7) -> bb3;
+//         drop(_6) -> bb3;
 //     }
 //     bb5: {
-//         drop(_7) -> [return: bb6, unwind: bb3];
+//         goto -> bb4;
 //     }
 //     bb6: {
+//         drop(_7) -> [return: bb8, unwind: bb4];
+//     }
+//     bb7: {
+//         drop(_7) -> bb5;
+//     }
+//     bb8: {
 //         StorageDead(_7);
 //         _0 = ();
-//         drop(_6) -> [return: bb7, unwind: bb2];
+//         drop(_6) -> [return: bb9, unwind: bb2];
 //     }
-//     bb7: {
+//     bb9: {
 //         StorageDead(_6);
-//         drop(_4) -> bb8;
+//         drop(_4) -> bb10;
 //     }
-//     bb8: {
+//     bb10: {
 //         StorageDead(_4);
 //         StorageDead(_2);
 //         StorageDead(_1);