summaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-03 18:00:48 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-03 18:00:48 +0000
commit423ba8058b32ccefd34540d250db2b0598bdfe05 (patch)
treee6eabb8077ce68266e51056ebf963c3fd63956a8 /gcc/lto
parent19ad01f71bd1a53275a57ae41312131b4017d73b (diff)
downloadgcc-423ba8058b32ccefd34540d250db2b0598bdfe05.tar.gz
* lto.c (free_ltrans_partitions): Fix accidental commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index dea5f648080..ca1bc6e4aef 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 9407a172395..fdd16381775 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. */