Skip to content

Commit 9e3f0b0

Browse files
committed
Rename SILApplyCrossesIsolation -> isIsolationBoundaryCrossingApply.
Just a better name with better camelCasing.
1 parent c929995 commit 9e3f0b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILOptimizer/Mandatory/TransferNonSendable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ using namespace swift::PartitionPrimitives;
4545
/// see if the ActorIsolationChecker determined it crossed isolation. It's
4646
/// possible this is brittle and a more nuanced check is needed, but this
4747
/// suffices for all cases tested so far.
48-
static bool SILApplyCrossesIsolation(const SILInstruction *inst) {
48+
static bool isIsolationBoundaryCrossingApply(const SILInstruction *inst) {
4949
if (ApplyExpr *apply = inst->getLoc().getAsASTNode<ApplyExpr>())
5050
return apply->getIsolationCrossing().has_value();
5151

@@ -762,7 +762,7 @@ class PartitionOpTranslator {
762762
void translateSILApply(SILInstruction *applyInst) {
763763
// If this apply does not cross isolation domains, it has normal
764764
// non-transferring multi-assignment semantics
765-
if (!SILApplyCrossesIsolation(applyInst)) {
765+
if (!isIsolationBoundaryCrossingApply(applyInst)) {
766766
SILMultiAssignOptions options;
767767
if (auto fas = FullApplySite::isa(applyInst)) {
768768
if (fas.hasSelfArgument()) {

0 commit comments

Comments
 (0)