[func-sig-opts] Add frontend option -enable-func-sig-opts to enable function signature optimization as a late pass. This is disabled by default and is only for testing purposes.

Swift SVN r21787
This commit is contained in:
Michael Gottesman
2014-09-08 21:29:09 +00:00
parent 23afba6f7c
commit 93494cf44f
4 changed files with 16 additions and 0 deletions

View File

@@ -826,6 +826,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.TimeTransforms |= Args.hasArg(OPT_sil_time_transforms);
Opts.DebugSerialization |= Args.hasArg(OPT_sil_debug_serialization);
Opts.PrintInstCounts |= Args.hasArg(OPT_print_inst_counts);
Opts.EnableFuncSigOpts |= Args.hasArg(OPT_enable_func_sig_opts);
return false;
}