aboutsummaryrefslogtreecommitdiff
path: root/gcc/alloc-pool.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-06-20 16:19:29 +0000
committerRichard Guenther <rguenther@suse.de>2006-06-20 16:19:29 +0000
commit261ea6e72e812dc32aa5af43e115be75dd44d8e7 (patch)
tree9147dcee09484286cbe9b33011aa8f2b85f12e02 /gcc/alloc-pool.h
parentb6df8704637ce0bcd4cd92068d14a8d44bf00e75 (diff)
2006-06-20 Richard Guenther <rguenther@suse.de>
Michael Matz <matz@suse.de> * alloc-pool.h (free_alloc_pool_if_empty): Prototype new function. * alloc-pool.c (free_alloc_pool_if_empty): New function. * et-forest.h (et_free_pools): Prototype new function. * et-forest.c (et_free_tree_force): Free parent occurrence. (et_free_pools): New function. * dominance.c (free_dominance_info): Free et-forest alloc pools. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114817 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alloc-pool.h')
-rw-r--r--gcc/alloc-pool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/alloc-pool.h b/gcc/alloc-pool.h
index 5152f9ee458..82188f4c064 100644
--- a/gcc/alloc-pool.h
+++ b/gcc/alloc-pool.h
@@ -49,6 +49,7 @@ typedef struct alloc_pool_def
extern alloc_pool create_alloc_pool (const char *, size_t, size_t);
extern void free_alloc_pool (alloc_pool);
+extern void free_alloc_pool_if_empty (alloc_pool *);
extern void *pool_alloc (alloc_pool);
extern void pool_free (alloc_pool, void *);
extern void dump_alloc_pool_statistics (void);