alloc-pool.c: Include hashtab.h
authorJan Hubicka <jh@suse.cz>
Fri, 30 Jan 2004 11:36:05 +0000 (12:36 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 30 Jan 2004 11:36:05 +0000 (11:36 +0000)
commit1e0f41c9d2779b52fa385510c4c3375be596f1ff
treea35d691168463d8f2f27f6683446c3a04b212411
parent048b0d2ef95ac9432d33e780f0e6d3337e966244
alloc-pool.c: Include hashtab.h

* 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.

From-SVN: r76951
gcc/ChangeLog
gcc/Makefile.in
gcc/alloc-pool.c
gcc/alloc-pool.h
gcc/toplev.c