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 268acbc commit f7dd583Copy full SHA for f7dd583
lib/SIL/SILVerifier.cpp
@@ -2342,14 +2342,6 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
2342
case SILInstructionKind::ApplyInst:
2343
case SILInstructionKind::TryApplyInst:
2344
case SILInstructionKind::PartialApplyInst:
2345
- // Non-Mutating set pattern that allows a inout (that can't really
2346
- // write back. Only SILGen generates PointerToThinkFunction
2347
- // instructions in the writeback code.
2348
- if (auto *AI = dyn_cast<ApplyInst>(inst)) {
2349
- if (isa<PointerToThinFunctionInst>(AI->getCallee())) {
2350
- break;
2351
- }
2352
2353
if (isConsumingOrMutatingApplyUse(use))
2354
return true;
2355
else
0 commit comments