@@ -2975,7 +2975,7 @@ ConstraintSystem::matchFunctionIsolations(FunctionType *func1,
2975
2975
return true;
2976
2976
2977
2977
// A thunk is going to pass `nil` to the isolated parameter.
2978
- case FunctionTypeIsolation::Kind::NonIsolatedCaller :
2978
+ case FunctionTypeIsolation::Kind::NonIsolatedNonsending :
2979
2979
return matchIfConversion();
2980
2980
2981
2981
// Erasing global-actor isolation to non-isolation can admit data
@@ -2999,10 +2999,10 @@ ConstraintSystem::matchFunctionIsolations(FunctionType *func1,
2999
2999
llvm_unreachable("bad kind");
3000
3000
3001
3001
// Converting to a caller isolated async function type.
3002
- case FunctionTypeIsolation::Kind::NonIsolatedCaller :
3002
+ case FunctionTypeIsolation::Kind::NonIsolatedNonsending :
3003
3003
switch (isolation1.getKind()) {
3004
3004
// Exact match.
3005
- case FunctionTypeIsolation::Kind::NonIsolatedCaller :
3005
+ case FunctionTypeIsolation::Kind::NonIsolatedNonsending :
3006
3006
return true;
3007
3007
3008
3008
// Global actor: Thunk will hop to the global actor
@@ -3049,7 +3049,7 @@ ConstraintSystem::matchFunctionIsolations(FunctionType *func1,
3049
3049
3050
3050
// A thunk is going to pass in an instance of a global actor
3051
3051
// to the isolated parameter.
3052
- case FunctionTypeIsolation::Kind::NonIsolatedCaller :
3052
+ case FunctionTypeIsolation::Kind::NonIsolatedNonsending :
3053
3053
return matchIfConversion();
3054
3054
3055
3055
// Parameter isolation cannot be altered in the same way.
@@ -3079,7 +3079,7 @@ ConstraintSystem::matchFunctionIsolations(FunctionType *func1,
3079
3079
return matchIfConversion();
3080
3080
3081
3081
// A thunk is going to forward the isolation.
3082
- case FunctionTypeIsolation::Kind::NonIsolatedCaller :
3082
+ case FunctionTypeIsolation::Kind::NonIsolatedNonsending :
3083
3083
return matchIfConversion();
3084
3084
3085
3085
// Don't allow dynamically-isolated function types to convert to
@@ -3104,7 +3104,7 @@ ConstraintSystem::matchFunctionIsolations(FunctionType *func1,
3104
3104
3105
3105
// It's not possible to form a thunk for this case because
3106
3106
// we don't know what to pass to the isolated parameter.
3107
- case FunctionTypeIsolation::Kind::NonIsolatedCaller :
3107
+ case FunctionTypeIsolation::Kind::NonIsolatedNonsending :
3108
3108
return false;
3109
3109
3110
3110
// Parameter isolation is value-dependent and can't be erased in the
0 commit comments