* lto.c (free_ltrans_partitions): Fix accidental commit.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2011 18:00:48 +0000 (18:00 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2011 18:00:48 +0000 (18:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173336 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/lto/ChangeLog
gcc/lto/lto.c

index dea5f64..ca1bc6e 100644 (file)
@@ -1,5 +1,9 @@
 2011-05-03  Jan Hubicka  <jh@suse.cz>
 
+       * lto.c (free_ltrans_partitions): Fix accidental commit.
+
+2011-05-03  Jan Hubicka  <jh@suse.cz>
+
        * lto.c (ltrans_partition_def): Remove GTY annotations.
        (ltrans_partitions): Move to heap.
        (new_partition): Update.
index 9407a17..fdd1638 100644 (file)
@@ -1159,16 +1159,16 @@ new_partition (const char *name)
 
 /* Free memory used by ltrans datastructures.  */
 static void
-free_ltrans_partitions ()
+free_ltrans_partitions (void)
 {
   unsigned int idx;
   ltrans_partition part;
   for (idx = 0; VEC_iterate (ltrans_partition, ltrans_partitions, idx, part); idx++)
     {
-      free_cgraph_node_set (part->cgraph-set);
+      free_cgraph_node_set (part->cgraph_set);
       free (part);
     }
-  VEC_free (latrans_partition, heap, ltrans_partitions);
+  VEC_free (ltrans_partition, heap, ltrans_partitions);
 }
 
 /* See all references that go to comdat objects and bring them into partition too.  */