mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Distributed] Remove _distributedThunkTarget; it is not necessary (#72245)
This commit is contained in:
committed by
GitHub
parent
07d145abec
commit
8854438d87
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user