diff options
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index dea5f64..ca1bc6e 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -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. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 9407a17..fdd1638 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -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. */ |