[+0-all-args] Remove the SILOption EnableGuaranteedNormalArguments and minimally simplify code.

I made this change by removing the SILOption and then doing a compile, fix loop. I
purposely did not move around the code to make the refactoring really easy to
see.
This commit is contained in:
Michael Gottesman
2018-07-29 20:12:57 -07:00
parent 65738eae5b
commit 53403e29ac
8 changed files with 15 additions and 67 deletions

View File

@@ -684,8 +684,6 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.EnableMandatorySemanticARCOpts |=
!Args.hasArg(OPT_disable_mandatory_semantic_arc_opts);
Opts.EnableLargeLoadableTypes |= Args.hasArg(OPT_enable_large_loadable_types);
Opts.EnableGuaranteedNormalArguments &=
!Args.hasArg(OPT_disable_guaranteed_normal_arguments);
if (const Arg *A = Args.getLastArg(OPT_save_optimization_record_path))
Opts.OptRecordFile = A->getValue();