@@ -199,8 +199,7 @@ class DistributedAccessor {
199
199
200
200
// / Compute a type of a distributed method accessor function based
201
201
// / on the provided distributed target.
202
- static CanSILFunctionType getAccessorType (IRGenModule &IGM,
203
- SILFunction *Target) {
202
+ static CanSILFunctionType getAccessorType (IRGenModule &IGM) {
204
203
auto &Context = IGM.Context ;
205
204
206
205
// func __accessor__<D: DistributedTargetInvocationDecoder>(
@@ -298,7 +297,7 @@ IRGenModule::getAddrOfDistributedTargetAccessor(SILFunction *F,
298
297
return entry;
299
298
}
300
299
301
- Signature signature = getSignature (getAccessorType (*this , F ));
300
+ Signature signature = getSignature (getAccessorType (*this ));
302
301
LinkInfo link = LinkInfo::get (*this , entity, forDefinition);
303
302
304
303
return createFunction (*this , link, signature);
@@ -313,7 +312,7 @@ void IRGenModule::emitDistributedTargetAccessor(SILFunction *target) {
313
312
return ;
314
313
315
314
IRGenFunction IGF (*this , f);
316
- DistributedAccessor (IGF, target, getAccessorType (*this , target )).emit ();
315
+ DistributedAccessor (IGF, target, getAccessorType (*this )).emit ();
317
316
}
318
317
319
318
DistributedAccessor::DistributedAccessor (IRGenFunction &IGF,
0 commit comments