OSDN Git Service

* alloc-pool.c: Include hashtab.h
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2004 11:36:05 +0000 (11:36 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2004 11:36:05 +0000 (11:36 +0000)
commit7fec61de214d7c5c0e686f33992d280781aeaadc
treea35d691168463d8f2f27f6683446c3a04b212411
parent605e65d94842fcee1361eade4b0946d17b7e4a00
* alloc-pool.c: Include hashtab.h
(alloc_pool_descriptor): New structure
(alloc_pool_hash): New global variable.
(hash_descriptor, eq_descriptor, alloc_pool_descriptor): New.
(create_alloc_pool): Update statistics.
(free_alloc_pool): Likewise.
(pool_alloc): Likewise.
(output_info): New structure
(print_statistics, dump_alloc_pool_statistics): New function.
* alloc-pool.h (alloc_pool_def): Turn name to be constant.
(dump_alloc_pool_statistics): Declare.
* toplev.c (finalize):  Dump statistics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76951 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/alloc-pool.c
gcc/alloc-pool.h
gcc/toplev.c