[Distributed] Remove _distributedThunkTarget; it is not necessary (#72245)

This commit is contained in:
Konrad `ktoso` Malawski
2024-03-12 12:48:05 +09:00
committed by GitHub
parent 07d145abec
commit 8854438d87
10 changed files with 2 additions and 51 deletions

View File

@@ -751,10 +751,6 @@ static FuncDecl *createDistributedThunkFunction(FuncDecl *func) {
if (func->hasBody())
thunk->setBodySynthesizer(deriveBodyDistributed_thunk, func);
/// Record which function this is a thunk for, we'll need this to link back
/// calls in case this is a distributed requirement witness.
thunk->getAttrs().add(new (C) DistributedThunkTargetAttr(func));
return thunk;
}