Commit 0eeb2240 by Jakub Jelinek Committed by Jakub Jelinek

ira-color.c (finish_cost_update): Free update_cost_queue_elems rather than update_cost_queue.

	* ira-color.c (finish_cost_update): Free update_cost_queue_elems
	rather than update_cost_queue.

From-SVN: r140378
parent 1fdeb82f
2008-09-15 Jakub Jelinek <jakub@redhat.com> 2008-09-15 Jakub Jelinek <jakub@redhat.com>
* ira-color.c (finish_cost_update): Free update_cost_queue_elems
rather than update_cost_queue.
* tree-ssa-alias.c (init_alias_info): Call bitmap_obstack_release * tree-ssa-alias.c (init_alias_info): Call bitmap_obstack_release
in every call starting with the second one, instead of only when in every call starting with the second one, instead of only when
alias_bitmap_obstack.elements != NULL. alias_bitmap_obstack.elements != NULL.
......
...@@ -139,7 +139,7 @@ initiate_cost_update (void) ...@@ -139,7 +139,7 @@ initiate_cost_update (void)
static void static void
finish_cost_update (void) finish_cost_update (void)
{ {
ira_free (update_cost_queue); ira_free (update_cost_queue_elems);
} }
/* When we traverse allocnos to update hard register costs, the cost /* When we traverse allocnos to update hard register costs, the cost
......
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