mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[metadata prespecialization] Always on for stdlib.
Regardless of any flags, the stdlib will have its generic metadata prespecialized. Temporarily reintroduced the flag to enable the feature flag while preserving the flag to disable it and changed the default back to off for the moment.
This commit is contained in:
@@ -1341,8 +1341,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.DisableLegacyTypeInfo = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_generic_metadata_prespecialization)) {
|
||||
Opts.PrespecializeGenericMetadata = false;
|
||||
if (Args.hasArg(OPT_prespecialize_generic_metadata) &&
|
||||
!Args.hasArg(OPT_disable_generic_metadata_prespecialization)) {
|
||||
Opts.PrespecializeGenericMetadata = true;
|
||||
}
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_read_legacy_type_info_path_EQ)) {
|
||||
|
||||
Reference in New Issue
Block a user