mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] Add new flag to SILFunction - IsDistributed
Determines whether given SILFunction represents a distributed method or its thunk.
This commit is contained in:
committed by
Pavel Yaskevich
parent
88fb8c2272
commit
4860f90fd7
@@ -718,7 +718,8 @@ SILFunction *PromotedParamCloner::initCloned(SILOptFunctionBuilder &FuncBuilder,
|
||||
swift::getSpecializedLinkage(Orig, Orig->getLinkage()), ClonedName,
|
||||
ClonedTy, Orig->getGenericEnvironment(), Orig->getLocation(),
|
||||
Orig->isBare(), Orig->isTransparent(), Serialized, IsNotDynamic,
|
||||
Orig->getEntryCount(), Orig->isThunk(), Orig->getClassSubclassScope(),
|
||||
IsNotDistributed, Orig->getEntryCount(), Orig->isThunk(),
|
||||
Orig->getClassSubclassScope(),
|
||||
Orig->getInlineStrategy(), Orig->getEffectsKind(), Orig,
|
||||
Orig->getDebugScope());
|
||||
for (auto &Attr : Orig->getSemanticsAttrs()) {
|
||||
|
||||
Reference in New Issue
Block a user