Skip to content

Commit

Permalink
adjust mir-opt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jan 18, 2020
1 parent 7935931 commit ec063a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/test/mir-opt/retag.rs
Expand Up @@ -113,8 +113,8 @@ fn main() {
// }
// }
// END rustc.main-{{closure}}.EraseRegions.after.mir
// START rustc.ptr-real_drop_in_place.Test.SimplifyCfg-make_shim.after.mir
// fn std::ptr::real_drop_in_place(_1: &mut Test) -> () {
// START rustc.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
// fn std::intrinsics::drop_in_place(_1: *mut Test) -> () {
// ...
// bb0: {
// Retag([raw] _1);
Expand All @@ -126,4 +126,4 @@ fn main() {
// return;
// }
// }
// END rustc.ptr-real_drop_in_place.Test.SimplifyCfg-make_shim.after.mir
// END rustc.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
4 changes: 2 additions & 2 deletions src/test/mir-opt/slice-drop-shim.rs
Expand Up @@ -6,7 +6,7 @@ fn main() {

// END RUST SOURCE

// START rustc.ptr-real_drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
// START rustc.ptr-drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
// let mut _2: usize;
// let mut _3: usize;
// let mut _4: usize;
Expand Down Expand Up @@ -87,4 +87,4 @@ fn main() {
// _3 = Len((*_1));
// switchInt(move _2) -> [0usize: bb8, otherwise: bb14];
// }
// END rustc.ptr-real_drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
// END rustc.ptr-drop_in_place.[std__string__String].AddMovesForPackedDrops.before.mir
4 changes: 2 additions & 2 deletions src/test/mir-opt/unusual-item-types.rs
Expand Up @@ -45,7 +45,7 @@ fn main() {
// }
// END rustc.E-V-{{constant}}.mir_map.0.mir

// START rustc.ptr-real_drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir
// START rustc.ptr-drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir
// bb0: {
// goto -> bb7;
// }
Expand All @@ -71,7 +71,7 @@ fn main() {
// _2 = &mut (*_1);
// _3 = const <std::vec::Vec<i32> as std::ops::Drop>::drop(move _2) -> [return: bb6, unwind: bb5];
// }
// END rustc.ptr-real_drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir
// END rustc.ptr-drop_in_place.std__vec__Vec_i32_.AddMovesForPackedDrops.before.mir

// START rustc.Test-X-{{constructor}}.mir_map.0.mir
// fn Test::X(_1: usize) -> Test {
Expand Down

0 comments on commit ec063a0

Please sign in to comment.