[Distributed] Handle mangling thunks in extensions with generic AS and $Stubs (#71914)

This commit is contained in:
Konrad `ktoso` Malawski
2024-02-29 21:22:00 +09:00
committed by GitHub
parent 92f3b0f2c4
commit c56a1e8be7
29 changed files with 565 additions and 296 deletions

View File

@@ -139,7 +139,7 @@ Type swift::getSerializationRequirementTypesForMember(
return signature->getConcreteType(SerReqAssocType);
}
llvm_unreachable("Unable to fetch ActorSystem type!");
llvm_unreachable("Unable to fetch SerializationRequirement type!");
}
Type swift::getDistributedActorSystemType(NominalTypeDecl *actor) {
@@ -325,11 +325,8 @@ Type ASTContext::getAssociatedTypeOfDistributedSystemOfActor(
FuncDecl*
ASTContext::getDistributedActorArgumentDecodingMethod(NominalTypeDecl *actor) {
if (!actor->isDistributedActor())
return nullptr;
return evaluateOrDefault(
evaluator, GetDistributedActorArgumentDecodingMethodRequest{actor}, nullptr);
evaluator, GetDistributedActorConcreteArgumentDecodingMethodRequest{actor}, nullptr);
}
NominalTypeDecl*