Skip to content

Commit ca38f02

Browse files
committed
Update IRGen SIL tests.
1 parent 18b8588 commit ca38f02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/IRGen/boxed_existential.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ entry(%e : $Error):
2121
// CHECK-LABEL: define{{( protected)?}} swiftcc %swift.error* @alloc_boxed_existential(%swift.opaque* noalias nocapture, %swift.type* %T, i8** %T.Error)
2222
sil @alloc_boxed_existential : $@convention(thin) <T: Error> (@in T) -> @owned Error {
2323
entry(%x : $*T):
24-
// CHECK: [[BOX_PAIR:%.*]] = call { %swift.error*, %swift.opaque* } @swift_allocError(%swift.type* %T, i8** %T.Error, %swift.opaque* null, i1 false)
24+
// CHECK: [[BOX_PAIR:%.*]] = call swiftcc { %swift.error*, %swift.opaque* } @swift_allocError(%swift.type* %T, i8** %T.Error, %swift.opaque* null, i1 false)
2525
// CHECK: [[BOX:%.*]] = extractvalue { %swift.error*, %swift.opaque* } [[BOX_PAIR]], 0
2626
// CHECK: [[ADDR:%.*]] = extractvalue { %swift.error*, %swift.opaque* } [[BOX_PAIR]], 1
2727
%b = alloc_existential_box $Error, $T

test/IRGen/typed_boxes.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ entry:
138138
// CHECK-LABEL: define{{( protected)?}} swiftcc void @dyn_box_b
139139
sil @dyn_box_b : $@convention(thin) <T> () -> () {
140140
entry:
141-
// CHECK: [[ALLOC:%.*]] = call { %swift.refcounted*, %swift.opaque* } @swift_allocBox(%swift.type* %T)
141+
// CHECK: [[ALLOC:%.*]] = call swiftcc { %swift.refcounted*, %swift.opaque* } @swift_allocBox(%swift.type* %T)
142142
// CHECK: [[BOX:%.*]] = extractvalue { %swift.refcounted*, %swift.opaque* } [[ALLOC]], 0
143143
// CHECK: [[PTR:%.*]] = extractvalue { %swift.refcounted*, %swift.opaque* } [[ALLOC]], 1
144144
%a = alloc_box $<τ_0_0> { var τ_0_0 } <T>

0 commit comments

Comments
 (0)