Commit 9897ab44 by Jan Hubicka Committed by Jan Hubicka

ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params…

ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when called late with early=true.

	* ipa-inline-analysis.c (estimate_function_body_sizes): Do not
	free node params when called late with early=true.

From-SVN: r219114
parent 38377326
2014-12-30 Jan Hubicka <hubicka@ucw.cz>
* ipa-inline-analysis.c (estimate_function_body_sizes): Do not
free node params when called late with early=true.
2014-12-30 Uros Bizjak <ubizjak@gmail.com> 2014-12-30 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_legitimize_address): Use std::swap. * config/i386/i386.c (ix86_legitimize_address): Use std::swap.
...@@ -2851,7 +2851,7 @@ estimate_function_body_sizes (struct cgraph_node *node, bool early) ...@@ -2851,7 +2851,7 @@ estimate_function_body_sizes (struct cgraph_node *node, bool early)
{ {
if (!early) if (!early)
loop_optimizer_finalize (); loop_optimizer_finalize ();
else else if (!ipa_edge_args_vector)
ipa_free_all_node_params (); ipa_free_all_node_params ();
free_dominance_info (CDI_DOMINATORS); free_dominance_info (CDI_DOMINATORS);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment