summaryrefslogtreecommitdiff
path: root/gcc/tree-emutls.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-03 17:22:58 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-03 17:22:58 +0000
commit19ad01f71bd1a53275a57ae41312131b4017d73b (patch)
tree29d6574c5d8892da7a62fdb54c7eabbacb56e4b1 /gcc/tree-emutls.c
parentcc80225a88f5280f1d9984d2a798ff1b1ad56fc6 (diff)
downloadgcc-19ad01f71bd1a53275a57ae41312131b4017d73b.tar.gz
* cgraph.h (cgraph_node_set_def, varpool_node_set_def): Move out of GTY;
replace hash by pointer map. (cgraph_node_set_element_def, cgraph_node_set_element, const_cgraph_node_set_element, varpool_node_set_element_def, varpool_node_set_element, const_varpool_node_set_element): Remove. (free_cgraph_node_set, free_varpool_node_set): New function. (cgraph_node_set_size, varpool_node_set_size): Use vector size. * tree-emutls.c: Free varpool node set. * ipa-utils.c (cgraph_node_set_new, cgraph_node_set_add, cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, debug_cgraph_node_set, free_cgraph_node_set, varpool_node_set_new, varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, dump_varpool_node_set, free_varpool_node_set, debug_varpool_node_set): Move here from ipa.c; implement using pointer_map * ipa.c (cgraph_node_set_new, cgraph_node_set_add, cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, debug_cgraph_node_set, varpool_node_set_new, varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, dump_varpool_node_set, debug_varpool_node_set): Move to ipa-uitls.c. * lto/lto.c (ltrans_partition_def): Remove GTY annotations. (ltrans_partitions): Move to heap. (new_partition): Update. (free_ltrans_partitions): New function. (lto_wpa_write_files): Use it. * passes.c (ipa_write_summaries): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-emutls.c')
-rw-r--r--gcc/tree-emutls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c
index 19f627e16d0..11240477b97 100644
--- a/gcc/tree-emutls.c
+++ b/gcc/tree-emutls.c
@@ -781,7 +781,7 @@ ipa_lower_emutls (void)
VEC_free (varpool_node_ptr, heap, control_vars);
VEC_free (tree, heap, access_vars);
- tls_vars = NULL;
+ free_varpool_node_set (tls_vars);
return TODO_dump_func | TODO_ggc_collect | TODO_verify_all;
}