@@ -447,7 +447,8 @@ std::string LinkEntity::mangleAsString() const {
447
447
case Kind::AsyncFunctionPointer:
448
448
case Kind::DispatchThunkAsyncFunctionPointer:
449
449
case Kind::DispatchThunkInitializerAsyncFunctionPointer:
450
- case Kind::DispatchThunkAllocatorAsyncFunctionPointer: {
450
+ case Kind::DispatchThunkAllocatorAsyncFunctionPointer:
451
+ case Kind::PartialApplyForwarderAsyncFunctionPointer: {
451
452
std::string Result (getUnderlyingEntityForAsyncFunctionPointer ()
452
453
.mangleAsString ());
453
454
Result.append (" Tu" );
@@ -742,6 +743,7 @@ SILLinkage LinkEntity::getLinkage(ForDefinition_t forDefinition) const {
742
743
case Kind::DispatchThunkAsyncFunctionPointer:
743
744
case Kind::DispatchThunkInitializerAsyncFunctionPointer:
744
745
case Kind::DispatchThunkAllocatorAsyncFunctionPointer:
746
+ case Kind::PartialApplyForwarderAsyncFunctionPointer:
745
747
return getUnderlyingEntityForAsyncFunctionPointer ()
746
748
.getLinkage (ForDefinition);
747
749
case Kind::PartialApplyForwarder:
@@ -769,6 +771,7 @@ bool LinkEntity::isContextDescriptor() const {
769
771
case Kind::DispatchThunkAsyncFunctionPointer:
770
772
case Kind::DispatchThunkInitializerAsyncFunctionPointer:
771
773
case Kind::DispatchThunkAllocatorAsyncFunctionPointer:
774
+ case Kind::PartialApplyForwarderAsyncFunctionPointer:
772
775
case Kind::MethodDescriptor:
773
776
case Kind::MethodDescriptorDerivative:
774
777
case Kind::MethodDescriptorInitializer:
@@ -942,6 +945,7 @@ llvm::Type *LinkEntity::getDefaultDeclarationType(IRGenModule &IGM) const {
942
945
case Kind::DispatchThunkAsyncFunctionPointer:
943
946
case Kind::DispatchThunkInitializerAsyncFunctionPointer:
944
947
case Kind::DispatchThunkAllocatorAsyncFunctionPointer:
948
+ case Kind::PartialApplyForwarderAsyncFunctionPointer:
945
949
case Kind::AsyncFunctionPointerAST:
946
950
return IGM.AsyncFunctionPointerTy ;
947
951
case Kind::PartialApplyForwarder:
@@ -977,6 +981,7 @@ Alignment LinkEntity::getAlignment(IRGenModule &IGM) const {
977
981
case Kind::DispatchThunkAsyncFunctionPointer:
978
982
case Kind::DispatchThunkInitializerAsyncFunctionPointer:
979
983
case Kind::DispatchThunkAllocatorAsyncFunctionPointer:
984
+ case Kind::PartialApplyForwarderAsyncFunctionPointer:
980
985
case Kind::ObjCClassRef:
981
986
case Kind::ObjCClass:
982
987
case Kind::TypeMetadataLazyCacheVariable:
@@ -1124,6 +1129,7 @@ bool LinkEntity::isWeakImported(ModuleDecl *module) const {
1124
1129
case Kind::DispatchThunkAsyncFunctionPointer:
1125
1130
case Kind::DispatchThunkInitializerAsyncFunctionPointer:
1126
1131
case Kind::DispatchThunkAllocatorAsyncFunctionPointer:
1132
+ case Kind::PartialApplyForwarderAsyncFunctionPointer:
1127
1133
return getUnderlyingEntityForAsyncFunctionPointer ()
1128
1134
.isWeakImported (module );
1129
1135
}
@@ -1239,6 +1245,7 @@ DeclContext *LinkEntity::getDeclContextForEmission() const {
1239
1245
case Kind::DispatchThunkAsyncFunctionPointer:
1240
1246
case Kind::DispatchThunkInitializerAsyncFunctionPointer:
1241
1247
case Kind::DispatchThunkAllocatorAsyncFunctionPointer:
1248
+ case Kind::PartialApplyForwarderAsyncFunctionPointer:
1242
1249
return getUnderlyingEntityForAsyncFunctionPointer ()
1243
1250
.getDeclContextForEmission ();
1244
1251
}
0 commit comments