Skip to content

Commit 049b6e5

Browse files
committed
AST: Don't force RequirementMachine creation in getOrCreateGenericSignatureBuilder()
This was for test coverage before I had any queries ported over, just to make sure that the completion procedure worked. Now that all the GenericSignature queries have been ported over, we don't need this since we're going to create all the RequirementMachines anyway.
1 parent 3e47d94 commit 049b6e5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/AST/ASTContext.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,10 +1797,6 @@ void ASTContext::registerGenericSignatureBuilder(
17971797

17981798
GenericSignatureBuilder *ASTContext::getOrCreateGenericSignatureBuilder(
17991799
CanGenericSignature sig) {
1800-
if (LangOpts.EnableRequirementMachine) {
1801-
(void) getOrCreateRequirementMachine(sig);
1802-
}
1803-
18041800
// Check whether we already have a generic signature builder for this
18051801
// signature and module.
18061802
auto arena = getArena(sig);

0 commit comments

Comments
 (0)