File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -4505,25 +4505,6 @@ void SILGenFunction::emitProtocolWitness(
4505
4505
witnessUnsubstTy->getSelfParameter ());
4506
4506
}
4507
4507
4508
- // If we are supposed to hop to the actor, do so now.
4509
- if (enterIsolation) {
4510
- Optional<ManagedValue> actorSelf;
4511
- if (*enterIsolation == ActorIsolation::ActorInstance) {
4512
- auto actorSelfVal = origParams.back ();
4513
-
4514
- if (actorSelfVal.getType ().isAddress ()) {
4515
- auto &actorSelfTL = getTypeLowering (actorSelfVal.getType ());
4516
- if (!actorSelfTL.isAddressOnly ()) {
4517
- actorSelfVal = emitManagedLoad (*this , loc, actorSelfVal, actorSelfTL);
4518
- }
4519
- }
4520
-
4521
- actorSelf = actorSelfVal;
4522
- }
4523
-
4524
- emitHopToTargetActor (loc, enterIsolation, actorSelf);
4525
- }
4526
-
4527
4508
// For static C++ methods and constructors, we need to drop the (metatype)
4528
4509
// "self" param. The "native" SIL representation will look like this:
4529
4510
// @convention(method) (@thin Foo.Type) -> () but the "actual" SIL function
You can’t perform that action at this time.
0 commit comments