[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:
Michael Gottesman
2018-11-13 13:27:19 -08:00
parent 2594cd723b
commit e2d7f77557
4 changed files with 9 additions and 8 deletions

View File

@@ -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))