Skip to content

Commit 7a7d329

Browse files
committed
Fix test case
1 parent b93e939 commit 7a7d329

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/IRGen/typed_boxes.sil

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ entry:
1515
// CHECK-64: [[BOX_DATA:%.*]] = getelementptr inbounds [[POD_8_8_LAYOUT]], [[POD_8_8_LAYOUT]]* [[BOX_RAW]], i32 0, i32 1
1616
// CHECK: [[BOX_DATA_1:%.*]] = bitcast [8 x i8]* [[BOX_DATA]] to i64*
1717
%b = project_box %a : $<τ_0_0> { var τ_0_0 } <Builtin.Int64>, 0
18-
// CHECK: call void @swift_rt_swift_deallocObject(%swift.refcounted* [[BOX]], [[WORD]] 24, [[WORD]] 7)
18+
// CHECK: call void @swift_rt_swift_deallocUninitializedObject(%swift.refcounted* [[BOX]], [[WORD]] 24, [[WORD]] 7)
1919
dealloc_box %a : $<τ_0_0> { var τ_0_0 } <Builtin.Int64>
2020
return undef : $()
2121
}
@@ -31,7 +31,7 @@ entry:
3131
// CHECK-64: [[BOX_DATA:%.*]] = getelementptr inbounds [[POD_8_8_LAYOUT]], [[POD_8_8_LAYOUT]]* [[BOX_RAW]], i32 0, i32 1
3232
// CHECK: [[BOX_DATA_1:%.*]] = bitcast [8 x i8]* [[BOX_DATA]] to double*
3333
%b = project_box %a : $<τ_0_0> { var τ_0_0 } <Builtin.FPIEEE64>, 0
34-
// CHECK: call void @swift_rt_swift_deallocObject(%swift.refcounted* [[BOX]], [[WORD]] 24, [[WORD]] 7)
34+
// CHECK: call void @swift_rt_swift_deallocUninitializedObject(%swift.refcounted* [[BOX]], [[WORD]] 24, [[WORD]] 7)
3535
dealloc_box %a : $<τ_0_0> { var τ_0_0 } <Builtin.FPIEEE64>
3636
return undef : $()
3737
}
@@ -51,7 +51,7 @@ entry:
5151
// CHECK: [[BOX_DATA:%.*]] = getelementptr inbounds [[POD_32_32_LAYOUT]], [[POD_32_32_LAYOUT]]* [[BOX_RAW]], i32 0, i32 2
5252
// CHECK: [[BOX_DATA_1:%.*]] = bitcast [32 x i8]* [[BOX_DATA]] to %T11typed_boxes11OverAlignedV*
5353
%b = project_box %a : $<τ_0_0> { var τ_0_0 } <OverAligned>, 0
54-
// CHECK: call void @swift_rt_swift_deallocObject(%swift.refcounted* [[BOX]], [[WORD]] 64, [[WORD]] 31)
54+
// CHECK: call void @swift_rt_swift_deallocUninitializedObject(%swift.refcounted* [[BOX]], [[WORD]] 64, [[WORD]] 31)
5555
dealloc_box %a : $<τ_0_0> { var τ_0_0 } <OverAligned>
5656
return undef : $()
5757
}

0 commit comments

Comments
 (0)