diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-30 11:36:05 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-30 11:36:05 +0000 |
commit | 7fec61de214d7c5c0e686f33992d280781aeaadc (patch) | |
tree | a35d691168463d8f2f27f6683446c3a04b212411 /gcc/toplev.c | |
parent | 605e65d94842fcee1361eade4b0946d17b7e4a00 (diff) | |
download | gcc-7fec61de214d7c5c0e686f33992d280781aeaadc.tar.gz |
* 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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 5154b449cc6..d1e12fa068f 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -4599,6 +4599,7 @@ finalize (void) dump_tree_statistics (); dump_rtx_statistics (); dump_varray_statistics (); + dump_alloc_pool_statistics (); } /* Free up memory for the benefit of leak detectors. */ |