mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Make LayoutPrespecialization a baseline feature instead of experimental.
Since LayoutPrespecialization has been enabled by default in all compiler invocations for quite some time, it doesn't make sense for it to be treated as experimental feature. Make it a baseline feature and remove all the checks for it from the compiler.
This commit is contained in:
@@ -1004,8 +1004,6 @@ static bool ParseEnabledFeatureArgs(LangOptions &Opts, ArgList &Args,
|
||||
if (Args.hasArg(OPT_enable_builtin_module))
|
||||
Opts.enableFeature(Feature::BuiltinModule);
|
||||
|
||||
Opts.enableFeature(Feature::LayoutPrespecialization);
|
||||
|
||||
if (Args.hasArg(OPT_strict_memory_safety))
|
||||
Opts.enableFeature(Feature::StrictMemorySafety);
|
||||
else if (Args.hasArg(OPT_strict_memory_safety_migrate))
|
||||
|
||||
Reference in New Issue
Block a user