@@ -4285,8 +4285,7 @@ bool SILGenModule::isNonMutatingSelfIndirect(SILDeclRef methodRef) {
4285
4285
return self.isFormalIndirect ();
4286
4286
}
4287
4287
4288
- Optional<SILValue> SILGenFunction::EmitLoadActorExecutorForCallee (
4289
- SILGenFunction *SGF,
4288
+ Optional<SILValue> SILGenFunction::emitLoadActorExecutorForCallee (
4290
4289
ValueDecl *calleeVD,
4291
4290
ArrayRef<ManagedValue> args) {
4292
4291
if (auto *funcDecl = dyn_cast_or_null<AbstractFunctionDecl>(calleeVD)) {
@@ -4300,11 +4299,11 @@ Optional<SILValue> SILGenFunction::EmitLoadActorExecutorForCallee(
4300
4299
case ActorIsolation::ActorInstance: {
4301
4300
assert (args.size () > 0 && " no self argument for actor-instance call?" );
4302
4301
auto calleeSelf = args.back ();
4303
- return calleeSelf.borrow (*SGF, SGF-> F .getLocation ()).getValue ();
4302
+ return calleeSelf.borrow (*this , F.getLocation ()).getValue ();
4304
4303
}
4305
4304
4306
4305
case ActorIsolation::GlobalActor:
4307
- return SGF-> emitLoadGlobalActorExecutor (actorIso.getGlobalActor ());
4306
+ return emitLoadGlobalActorExecutor (actorIso.getGlobalActor ());
4308
4307
}
4309
4308
}
4310
4309
return None;
@@ -4418,7 +4417,7 @@ RValue SILGenFunction::emitApply(ResultPlanPtr &&resultPlan,
4418
4417
assert (F.isAsync () && " cannot hop_to_executor in a non-async func!" );
4419
4418
4420
4419
auto calleeVD = implicitlyAsyncApply.getValue ();
4421
- auto maybeExecutor = EmitLoadActorExecutorForCallee ( this , calleeVD, args);
4420
+ auto maybeExecutor = emitLoadActorExecutorForCallee ( calleeVD, args);
4422
4421
4423
4422
assert (maybeExecutor.hasValue ());
4424
4423
B.createHopToExecutor (loc, maybeExecutor.getValue ());
0 commit comments