ipa-inline-analysis.c (inline_merge_summary): Free operand_map.

2012-05-26  Martin Jambor  <mjambor@suse.cz>

	* ipa-inline-analysis.c (inline_merge_summary): Free operand_map.

From-SVN: r187907
This commit is contained in:
Martin Jambor 2012-05-26 11:37:17 +02:00 committed by Martin Jambor
parent b8739324f6
commit 99a2a79785
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-05-26 Martin Jambor <mjambor@suse.cz>
Backport from mainline
2012-05-23 Martin Jambor <mjambor@suse.cz>
* ipa-inline-analysis.c (inline_merge_summary): Free operand_map.
2012-05-25 Eric Botcazou <ebotcazou@adacore.com>
PR lto/52178

View File

@ -2696,6 +2696,7 @@ inline_merge_summary (struct cgraph_edge *edge)
edge_set_predicate (edge, &true_p);
/* Similarly remove param summaries. */
VEC_free (inline_param_summary_t, heap, es->param);
VEC_free (int, heap, operand_map);
info->time = (info->time + INLINE_TIME_SCALE / 2) / INLINE_TIME_SCALE;
info->size = (info->size + INLINE_SIZE_SCALE / 2) / INLINE_SIZE_SCALE;