Skip to content

Commit bc2f571

Browse files
Merge pull request #30880 from nate-chandler/generic-metadata-prespecialization-components/disable-for-stdlib
[metadata prespecialization] Not always on for stdlib.
2 parents 5126775 + 240fd09 commit bc2f571

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/IRGen/IRGenModule.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,11 +1398,6 @@ void IRGenModule::error(SourceLoc loc, const Twine &message) {
13981398
bool IRGenModule::useDllStorage() { return ::useDllStorage(Triple); }
13991399

14001400
bool IRGenModule::shouldPrespecializeGenericMetadata() {
1401-
// Prespecialize generic metadata in the standard library always, disregarding
1402-
// flags.
1403-
if (isStandardLibrary()) {
1404-
return true;
1405-
}
14061401
auto &context = getSwiftModule()->getASTContext();
14071402
auto deploymentAvailability =
14081403
AvailabilityContext::forDeploymentTarget(context);

0 commit comments

Comments
 (0)