Skip to content
Permalink
Browse files

Rebase fallout

  • Loading branch information
oli-obk committed Jan 9, 2020
1 parent 43313d5 commit a5d8ab713ad9871283d07c8920be14f0d6132705
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/test/mir-opt/const-promotion-extern-static.rs
@@ -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];
// }
@@ -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];
// }

0 comments on commit a5d8ab7

Please sign in to comment.
You can’t perform that action at this time.