Commit bb3398ca by Jan Hubicka Committed by Jan Hubicka

* lto.c (free_ltrans_partitions): Fix accidental commit.

From-SVN: r173336
parent 1cb1a99f
2011-05-03 Jan Hubicka <jh@suse.cz> 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. * lto.c (ltrans_partition_def): Remove GTY annotations.
(ltrans_partitions): Move to heap. (ltrans_partitions): Move to heap.
(new_partition): Update. (new_partition): Update.
......
...@@ -1159,16 +1159,16 @@ new_partition (const char *name) ...@@ -1159,16 +1159,16 @@ new_partition (const char *name)
/* Free memory used by ltrans datastructures. */ /* Free memory used by ltrans datastructures. */
static void static void
free_ltrans_partitions () free_ltrans_partitions (void)
{ {
unsigned int idx; unsigned int idx;
ltrans_partition part; ltrans_partition part;
for (idx = 0; VEC_iterate (ltrans_partition, ltrans_partitions, idx, part); idx++) 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); 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. */ /* See all references that go to comdat objects and bring them into partition too. */
......
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