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 86c30d6 commit 3229edeCopy full SHA for 3229ede
lib/SILOptimizer/Utils/SILIsolationInfo.cpp
@@ -899,7 +899,7 @@ SILIsolationInfo SILIsolationInfo::get(SILArgument *arg) {
899
if (auto *isolatedArg = llvm::cast_or_null<SILFunctionArgument>(
900
fArg->getFunction()->maybeGetIsolatedArgument())) {
901
auto astType = isolatedArg->getType().getASTType();
902
- if (auto *nomDecl = astType->lookThroughAllOptionalTypes()->getAnyActor()) {
+ if (astType->lookThroughAllOptionalTypes()->getAnyActor()) {
903
return SILIsolationInfo::getActorInstanceIsolated(fArg, isolatedArg);
904
}
905
0 commit comments