@@ -199,8 +199,7 @@ class DistributedAccessor {
199199
200200// / Compute a type of a distributed method accessor function based
201201// / on the provided distributed target.
202- static CanSILFunctionType getAccessorType (IRGenModule &IGM,
203- SILFunction *Target) {
202+ static CanSILFunctionType getAccessorType (IRGenModule &IGM) {
204203 auto &Context = IGM.Context ;
205204
206205 // func __accessor__<D: DistributedTargetInvocationDecoder>(
@@ -298,7 +297,7 @@ IRGenModule::getAddrOfDistributedTargetAccessor(SILFunction *F,
298297 return entry;
299298 }
300299
301- Signature signature = getSignature (getAccessorType (*this , F ));
300+ Signature signature = getSignature (getAccessorType (*this ));
302301 LinkInfo link = LinkInfo::get (*this , entity, forDefinition);
303302
304303 return createFunction (*this , link, signature);
@@ -313,7 +312,7 @@ void IRGenModule::emitDistributedTargetAccessor(SILFunction *target) {
313312 return ;
314313
315314 IRGenFunction IGF (*this , f);
316- DistributedAccessor (IGF, target, getAccessorType (*this , target )).emit ();
315+ DistributedAccessor (IGF, target, getAccessorType (*this )).emit ();
317316}
318317
319318DistributedAccessor::DistributedAccessor (IRGenFunction &IGF,
0 commit comments