Skip to content

Commit 4302167

Browse files
committed
[5.6] IsNotDistributed isn't on 5.6 and isn't an arg to SILFunction's constructor. Remove it
1 parent bc6abd2 commit 4302167

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SILOptimizer/Mandatory/MoveKillsCopyableAddressesChecker.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,9 +1160,9 @@ SILFunction *ClosureArgumentInOutToOutCloner::initCloned(
11601160
swift::getSpecializedLinkage(orig, orig->getLinkage()), clonedName,
11611161
clonedTy, orig->getGenericEnvironment(), orig->getLocation(),
11621162
orig->isBare(), orig->isTransparent(), serialized, IsNotDynamic,
1163-
IsNotDistributed, orig->getEntryCount(), orig->isThunk(),
1164-
orig->getClassSubclassScope(), orig->getInlineStrategy(),
1165-
orig->getEffectsKind(), orig, orig->getDebugScope());
1163+
orig->getEntryCount(), orig->isThunk(), orig->getClassSubclassScope(),
1164+
orig->getInlineStrategy(), orig->getEffectsKind(), orig,
1165+
orig->getDebugScope());
11661166
for (auto &Attr : orig->getSemanticsAttrs()) {
11671167
Fn->addSemanticsAttr(Attr);
11681168
}

0 commit comments

Comments
 (0)