mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[semantic-sil] Enable the mandatory sil ownership optimization on all stdlib overlays.
We can do this b/c all overlays pass the ownership verifier, so it is safe.
This commit is contained in:
@@ -743,7 +743,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
Opts.AssumeUnqualifiedOwnershipWhenParsing
|
||||
|= Args.hasArg(OPT_assume_parsing_unqualified_ownership_sil);
|
||||
Opts.EnableMandatorySemanticARCOpts |=
|
||||
!Args.hasArg(OPT_disable_mandatory_semantic_arc_opts);
|
||||
Args.hasArg(OPT_enable_mandatory_semantic_arc_opts);
|
||||
Opts.EnableLargeLoadableTypes |= Args.hasArg(OPT_enable_large_loadable_types);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_save_optimization_record_path))
|
||||
|
||||
Reference in New Issue
Block a user