OSDN Git Service

* toplev.c (dump_memory_report): Call dump_vec_loc_statistics.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Sep 2008 12:17:22 +0000 (12:17 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Sep 2008 12:17:22 +0000 (12:17 +0000)
commiteec2888b2ffa9e9d36b52971a0aec924fe69aa89
tree14c4bf95881bc903031bf52e1a33cc0a335081a9
parent1a601d5d9a980bbd02a0d48b9d9c448d14337977
* toplev.c (dump_memory_report): Call dump_vec_loc_statistics.
* vec.c: Include hashtab.h
(vec_descriptor, ptr_hash_entry): New structures.
(vec_desc_hash, vec_ptr_map): New static variables.
(hash_descriptor, eq_descriptor, hash_ptr, eq_ptr, vec_descriptor,
register_overhead, free_overhead, vec_heap_free): New functions.
(vec_gc_o_reserve_1): ggc_free when resizing to 0.
(vec_heap_o_reserve_1): free when resizing to 0; add statistics.
(cmp_statistic, add_statistics, dump_vec_loc_statistics): New functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140277 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/toplev.c
gcc/vec.c
gcc/vec.h