]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/et-forest.c
cfg.c: Include alloc-pool.h
authorDaniel Berlin <dberlin@dberlin.org>
Tue, 7 Jan 2003 17:05:16 +0000 (17:05 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Tue, 7 Jan 2003 17:05:16 +0000 (17:05 +0000)
commitf6cb56fa00cfe9cfab7e263361a13d6a2c6a851a
treed11f774feec9141299ef0fd12c1bdc066f115790
parent6ec628973a0ecba9905d9ad95ca0d8f3c79b7ded
cfg.c: Include alloc-pool.h

2003-01-07  Daniel Berlin  <dberlin@dberlin.org>

* cfg.c: Include alloc-pool.h
(edge_pool): New pool.
(bb_pool): New pool.
(first_deleted_edge): Remove.
(first_deleted_block): Remove.
(init_flow): Alloc/free the pools.
(free_edge): Use pools.
(alloc_block): Ditto.
(expunge_block): Ditto.
(cached_make_edge): Ditto.

* Makefile.in (cfg.o): Add alloc-pool.h dependency.

2003-01-07  Daniel Berlin  <dberlin@dberlin.org>

* et-forest.c: Include alloc-pool.h.
(struct et_forest): Add node_pool and occur_pool.
(et_forest_create): Create the new pools.
(et_forest_delete): Delete them.
(et_forest_add_node): Allocate and free using pools.
(et_forest_add_edge): Ditto.
(et_forest_remove_node): Ditto.
(et_forest_remove_edge): Ditto.

* Makefile.in (et-forest.o): Add alloc-pool.h dependency.

From-SVN: r61001
gcc/ChangeLog
gcc/Makefile.in
gcc/cfg.c
gcc/et-forest.c