mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[distributed] synthesize factory resolve func
This commit is contained in:
committed by
Konrad `ktoso` Malawski
parent
89629fe06f
commit
c49f7d0a50
@@ -510,6 +510,11 @@ SILGenFunction::emitClosureValue(SILLocation loc, SILDeclRef constant,
|
||||
void SILGenFunction::emitFunction(FuncDecl *fd) {
|
||||
MagicFunctionName = SILGenModule::getMagicFunctionName(fd);
|
||||
|
||||
if (fd->isDistributedActorFactory()) {
|
||||
emitDistributedActorFactory(fd);
|
||||
return;
|
||||
}
|
||||
|
||||
auto captureInfo = SGM.M.Types.getLoweredLocalCaptures(SILDeclRef(fd));
|
||||
emitProfilerIncrement(fd->getTypecheckedBody());
|
||||
emitProlog(captureInfo, fd->getParameters(), fd->getImplicitSelfDecl(), fd,
|
||||
|
||||
Reference in New Issue
Block a user