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
committerMark Rousskov <mark.simulacrum@gmail.com>2020-06-13 15:50:29 -0400
commitf3d24f93cb799ccf5082d28a30504f1af440919f (patch)
tree5ae529fbd54e853078b9d7fde92e55eaca259821 /src/test/codegen
parentb1e93e5a7551888a50afefe7e8a21c79e079cee6 (diff)
downloadrust-f3d24f93cb799ccf5082d28a30504f1af440919f.tar.gz
rust-f3d24f93cb799ccf5082d28a30504f1af440919f.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