Introduce -enable-guaranteed-closure-contexts staging option.

This commit is contained in:
Joe Groff
2015-12-30 15:39:41 -08:00
parent ca7fb99e98
commit 611defcdcb
3 changed files with 9 additions and 0 deletions

View File

@@ -1002,6 +1002,8 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.EmitProfileCoverageMapping |= Args.hasArg(OPT_profile_coverage_mapping);
Opts.UseNativeSuperMethod |=
Args.hasArg(OPT_use_native_super_method);
Opts.EnableGuaranteedClosureContexts |=
Args.hasArg(OPT_enable_guaranteed_closure_contexts);
return false;
}