OSDN Git Service

* ira-color.c (finish_cost_update): Free update_cost_queue_elems
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2008 21:57:17 +0000 (21:57 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2008 21:57:17 +0000 (21:57 +0000)
rather than update_cost_queue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140378 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ira-color.c

index fbb50d0..3166034 100644 (file)
@@ -1,5 +1,8 @@
 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
        in every call starting with the second one, instead of only when
        alias_bitmap_obstack.elements != NULL.
index 73b568e..9146ac0 100644 (file)
@@ -139,7 +139,7 @@ initiate_cost_update (void)
 static 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