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

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

From-SVN: r219444
This commit is contained in:
Jan Hubicka 2015-01-12 08:08:27 +01:00 committed by Jan Hubicka
parent 348f9b5124
commit e3bde69aea
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-01-11 Jan Hubicka <hubicka@ucw.cz>
* ipa-utils.c (estimate_function_body_sizes): Do not
free node params when called late with early=true.
2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
* doc/md.texi (Instruction Patterns): Rewrite text for

View File

@ -474,8 +474,8 @@ ipa_merge_profiles (struct cgraph_node *dst,
gcc_assert (!*slot);
*slot = state;
}
src->get_body ();
dst->get_body ();
src->get_untransformed_body ();
dst->get_untransformed_body ();
srccfun = DECL_STRUCT_FUNCTION (src->decl);
dstcfun = DECL_STRUCT_FUNCTION (dst->decl);
if (n_basic_blocks_for_fn (srccfun)