File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -506,17 +506,6 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
506
506
if (LocKind == SILLocation::RegularKind)
507
507
return ;
508
508
509
- #if 0
510
- // FIXME: This check was tautological before the removal of
511
- // AutoreleaseReturnInst, and it turns out that we're violating it.
512
- // Fix incoming.
513
- if (LocKind == SILLocation::CleanupKind ||
514
- LocKind == SILLocation::InlinedKind)
515
- require(InstKind != SILInstructionKind::ReturnInst ||
516
- InstKind != SILInstructionKind::AutoreleaseReturnInst,
517
- "cleanup and inlined locations are not allowed on return instructions");
518
- #endif
519
-
520
509
if (LocKind == SILLocation::ReturnKind ||
521
510
LocKind == SILLocation::ImplicitReturnKind)
522
511
require (InstKind == SILInstructionKind::BranchInst ||
You can’t perform that action at this time.
0 commit comments