mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[+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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user