Revert "Remove the flag that controls signature optimization."

This reverts commit 0dd26039ce.

I did not notice that some tests depend on this flag.
This commit is contained in:
Nadav Rotem
2015-11-12 20:36:16 -08:00
parent 0dd26039ce
commit 2c820feb29
4 changed files with 9 additions and 1 deletions

View File

@@ -984,6 +984,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.DebugSerialization |= Args.hasArg(OPT_sil_debug_serialization);
Opts.EmitVerboseSIL |= Args.hasArg(OPT_emit_verbose_sil);
Opts.PrintInstCounts |= Args.hasArg(OPT_print_inst_counts);
Opts.EnableFuncSigOpts &= !Args.hasArg(OPT_disable_func_sig_opts);
if (const Arg *A = Args.getLastArg(OPT_external_pass_pipeline_filename))
Opts.ExternalPassPipelineFilename = A->getValue();