mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove ActorIsolation::DistributedActorInstance.
The distributed case is distinguishable from the non-distributed case based on the actor type itself for those rare cases where we care. The vast majority of code is simplified by treating this identically to `ActorInstance`.
This commit is contained in:
@@ -568,7 +568,7 @@ void SILGenFunction::emitDistributedActorClassMemberDestruction(
|
||||
B.emitBlock(remoteMemberDestroyBB);
|
||||
|
||||
for (VarDecl *vd : cd->getStoredProperties()) {
|
||||
if (getActorIsolation(vd) == ActorIsolation::DistributedActorInstance)
|
||||
if (getActorIsolation(vd) == ActorIsolation::ActorInstance)
|
||||
continue;
|
||||
|
||||
destroyClassMember(cleanupLoc, selfValue, vd);
|
||||
|
||||
Reference in New Issue
Block a user