File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,14 @@ pub fn droppy() {
23
23
// FIXME(eddyb) the `void @` forces a match on the instruction, instead of the
24
24
// comment, that's `; call core::ptr::drop_in_place::<drop::SomeUniqueName>`
25
25
// for the `v0` mangling, should switch to matching on that once `legacy` is gone.
26
- // CHECK-NOT: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
27
- // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
28
- // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
29
26
// CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
30
27
// CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
31
- // CHECK-NOT: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
32
- // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
28
+ // CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
29
+ // CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
30
+ // CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
31
+ // CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
32
+ // CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
33
+ // CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
33
34
// CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
34
35
// CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
35
36
// CHECK-NOT: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
Original file line number Diff line number Diff line change 6
6
// get the `cold` attribute.
7
7
8
8
// CHECK-LABEL: @check_cold
9
- // CHECK: call void {{.+}}drop_in_place{{.+}} [[ATTRIBUTES:#[0-9]+]]
9
+ // CHECK: invoke void {{.+}}drop_in_place{{.+}} [[ATTRIBUTES:#[0-9]+]]
10
10
// CHECK: attributes [[ATTRIBUTES]] = { cold }
11
11
#[ no_mangle]
12
12
pub fn check_cold ( f : fn ( ) , x : Box < u32 > ) {
You can’t perform that action at this time.
0 commit comments