We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7435a03 commit 4c34f08Copy full SHA for 4c34f08
lib/SILOptimizer/Utils/SILIsolationInfo.cpp
@@ -900,7 +900,7 @@ SILIsolationInfo SILIsolationInfo::get(SILArgument *arg) {
900
if (auto *isolatedArg = llvm::cast_or_null<SILFunctionArgument>(
901
fArg->getFunction()->maybeGetIsolatedArgument())) {
902
auto astType = isolatedArg->getType().getASTType();
903
- if (auto *nomDecl = astType->lookThroughAllOptionalTypes()->getAnyActor()) {
+ if (astType->lookThroughAllOptionalTypes()->getAnyActor()) {
904
return SILIsolationInfo::getActorInstanceIsolated(fArg, isolatedArg);
905
}
906
0 commit comments