Skip to content

Commit

Permalink
Rebase fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jan 10, 2020
1 parent 43313d5 commit a5d8ab7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/mir-opt/const-promotion-extern-static.rs
Expand Up @@ -48,7 +48,8 @@ fn main() {}
// START rustc.BAR.PromoteTemps.after.mir
// bb0: {
// ...
// _2 = &(promoted[0]: [&'static i32; 1]);
// _6 = const BAR::promoted[0];
// _2 = &(*_6);
// _1 = move _2 as &[&'static i32] (Pointer(Unsize));
// _0 = const core::slice::<impl [&'static i32]>::as_ptr(move _1) -> [return: bb2, unwind: bb1];
// }
Expand All @@ -60,7 +61,8 @@ fn main() {}
// START rustc.FOO.PromoteTemps.after.mir
// bb0: {
// ...
// _2 = &(promoted[0]: [&'static i32; 1]);
// _6 = const FOO::promoted[0];
// _2 = &(*_6);
// _1 = move _2 as &[&'static i32] (Pointer(Unsize));
// _0 = const core::slice::<impl [&'static i32]>::as_ptr(move _1) -> [return: bb2, unwind: bb1];
// }
Expand Down

0 comments on commit a5d8ab7

Please sign in to comment.