Add a -disable-sil-partial-apply frontend staging option.

This commit is contained in:
Joe Groff
2016-08-29 13:42:33 -07:00
parent 114d836737
commit 2a86a6bca7
3 changed files with 8 additions and 0 deletions

View File

@@ -1130,6 +1130,8 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.EmitProfileCoverageMapping |= Args.hasArg(OPT_profile_coverage_mapping);
Opts.EnableGuaranteedClosureContexts |=
Args.hasArg(OPT_enable_guaranteed_closure_contexts);
Opts.DisableSILPartialApply |=
Args.hasArg(OPT_disable_sil_partial_apply);
if (Args.hasArg(OPT_debug_on_sil)) {
// Derive the name of the SIL file for debugging from