about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2020-06-04 11:34:42 -0400
committerFelix S. Klock II <pnkfelix@pnkfx.org>2020-06-04 11:34:42 -0400
commite1ebdeeefb8651d4eb944483faf92d3ad4b10c99 (patch)
tree2fb795cdc3b49bd0bcb42fed51a3201305bd2e00 /src/test/codegen
parent7cde4ab0d065bf3ac0324eb8a24f57507ef2dedc (diff)
downloadrust-e1ebdeeefb8651d4eb944483faf92d3ad4b10c99.tar.gz
rust-e1ebdeeefb8651d4eb944483faf92d3ad4b10c99.zip
Revert "Defer creating drop trees in MIR lowering until leaving that scope"
This reverts commit 611988551fba1bcbb33ae2e1e0171cb8d2e70d5a.
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/drop.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/codegen/drop.rs b/src/test/codegen/drop.rs
index 99a791464ab..0c7f3bb2020 100644
--- a/src/test/codegen/drop.rs
+++ b/src/test/codegen/drop.rs
@@ -23,13 +23,13 @@ pub fn droppy() {
 // FIXME(eddyb) the `void @` forces a match on the instruction, instead of the
 // comment, that's `; call core::intrinsics::drop_in_place::<drop::SomeUniqueName>`
 // for the `v0` mangling, should switch to matching on that once `legacy` is gone.
-// CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
-// CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
-// CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
 // CHECK-NOT: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
 // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
 // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
+// CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
+// CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
 // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
+// CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
 // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
 // CHECK-NOT: {{(call|invoke) void @.*}}drop_in_place{{.*}}SomeUniqueName
 // The next line checks for the } that ends the function definition