Skip to content

Commit 240fd09

Browse files
committed
[metadata prespecialization] Not always on for stdlib.
Prespecializing metadata in the stdlib looks to be exposing a bug in its implementation. Disabling for now.
1 parent 3036774 commit 240fd09

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)