1414 unreachable
1515}
1616
17- // CHECK: define{{( protected)?}} void @throws(%swift.refcounted*, %swift.error**) {{.*}} {
17+ // CHECK-LABEL : define{{( protected)?}} void @throws(%swift.refcounted*, %swift.error**) {{.*}} {
1818sil @throws : $@convention(thin) () -> @error ErrorProtocol {
1919 // CHECK: [[T0:%.*]] = call %swift.error* @create_error()
2020 %0 = function_ref @create_error : $@convention(thin) () -> @owned ErrorProtocol
@@ -27,7 +27,7 @@ sil @throws : $@convention(thin) () -> @error ErrorProtocol {
2727 throw %1 : $ErrorProtocol
2828}
2929
30- // CHECK: define{{( protected)?}} void @doesnt_throw(%swift.refcounted*, %swift.error**) {{.*}} {
30+ // CHECK-LABEL : define{{( protected)?}} void @doesnt_throw(%swift.refcounted*, %swift.error**) {{.*}} {
3131sil @doesnt_throw : $@convention(thin) () -> @error ErrorProtocol {
3232 // We don't have to do anything here because the caller always
3333 // zeroes the error slot before a call.
@@ -39,8 +39,8 @@ sil @doesnt_throw : $@convention(thin) () -> @error ErrorProtocol {
3939
4040sil @try_apply_helper : $@convention(thin) (@owned AnyObject) -> (@owned AnyObject, @error ErrorProtocol)
4141
42- // CHECK-objc: define{{( protected)?}} void @try_apply(%objc_object*)
43- // CHECK-native: define{{( protected)?}} void @try_apply(%swift.refcounted*)
42+ // CHECK-objc-LABEL : define{{( protected)?}} void @try_apply(%objc_object*)
43+ // CHECK-native-LABEL : define{{( protected)?}} void @try_apply(%swift.refcounted*)
4444sil @try_apply : $@convention(thin) (@owned AnyObject) -> () {
4545entry(%0 : $AnyObject):
4646 // CHECK: [[ERRORSLOT:%.*]] = alloca %swift.error*, align
0 commit comments