about summary refs log tree commit diff
path: root/src/test/mir-opt/deaggregator_test_enum.rs
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2016-09-25 01:38:27 +0200
committerJonas Schievink <jonasschievink@gmail.com>2016-09-26 20:41:54 +0200
commit393db2d83089b3940fa2fe77f1241ca4625fe883 (patch)
tree49bcbec475b6668847f8af1d007f8f28e10102b2 /src/test/mir-opt/deaggregator_test_enum.rs
parent205dac935531aaf0a5b70898db28e1f1e5f86176 (diff)
downloadrust-393db2d83089b3940fa2fe77f1241ca4625fe883.tar.gz
rust-393db2d83089b3940fa2fe77f1241ca4625fe883.zip
[WIP] Move MIR towards a single kind of local
Diffstat (limited to 'src/test/mir-opt/deaggregator_test_enum.rs')
-rw-r--r--src/test/mir-opt/deaggregator_test_enum.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/mir-opt/deaggregator_test_enum.rs b/src/test/mir-opt/deaggregator_test_enum.rs
index ccfa760a28c..5d182f367b5 100644
--- a/src/test/mir-opt/deaggregator_test_enum.rs
+++ b/src/test/mir-opt/deaggregator_test_enum.rs
@@ -28,18 +28,18 @@ fn main() {
 // END RUST SOURCE
 // START rustc.node10.Deaggregator.before.mir
 // bb0: {
-//     var0 = arg0;                     // scope 0 at main.rs:7:8: 7:9
-//     tmp0 = var0;                     // scope 1 at main.rs:8:19: 8:20
-//     return = Baz::Foo { x: tmp0 };   // scope 1 at main.rs:8:5: 8:21
+//     local2 = local1;                     // scope 0 at main.rs:7:8: 7:9
+//     local3 = local2;                     // scope 1 at main.rs:8:19: 8:20
+//     local0 = Baz::Foo { x: local3 };   // scope 1 at main.rs:8:5: 8:21
 //     goto -> bb1;                     // scope 1 at main.rs:7:1: 9:2
 // }
 // END rustc.node10.Deaggregator.before.mir
 // START rustc.node10.Deaggregator.after.mir
 // bb0: {
-//     var0 = arg0;                     // scope 0 at main.rs:7:8: 7:9
-//     tmp0 = var0;                     // scope 1 at main.rs:8:19: 8:20
-//     ((return as Foo).0: usize) = tmp0; // scope 1 at main.rs:8:5: 8:21
-//     discriminant(return) = 1;         // scope 1 at main.rs:8:5: 8:21
+//     local2 = local1;                     // scope 0 at main.rs:7:8: 7:9
+//     local3 = local2;                     // scope 1 at main.rs:8:19: 8:20
+//     ((local0 as Foo).0: usize) = local3; // scope 1 at main.rs:8:5: 8:21
+//     discriminant(local0) = 1;         // scope 1 at main.rs:8:5: 8:21
 //     goto -> bb1;                     // scope 1 at main.rs:7:1: 9:2
 // }
-// END rustc.node10.Deaggregator.after.mir
\ No newline at end of file
+// END rustc.node10.Deaggregator.after.mir