sh.c: Include alloc-pool.h.
authorSteven Bosscher <stevenb.gcc@gmail.com>
Sat, 11 Mar 2006 12:52:56 +0000 (12:52 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sat, 11 Mar 2006 12:52:56 +0000 (12:52 +0000)
commit6dd3c0a5996256d8159c9c6be925114f692c398e
tree3ecca8f93261b3b4356334cbb37a6eff34e0116c
parent59e47e7163bc4b1d717e81fb2831f51903900d90
sh.c: Include alloc-pool.h.

2006-03-11  Steven Bosscher  <stevenb.gcc@gmail.com>

* config/sh/sh.c: Include alloc-pool.h.
(label_ref_list_pool): New alloc pool.
(label_ref_list_t): New type for lists of labels.
(struct pool_node): Make wend a label_ref_list_t.
(add_constant): Use the new type, eradicate LABEL_NEXTREF
references.
(dump_table): Likewise.
(sh_reorg): Set up the alloc pool before using add_constant and
dump_table, and destroy it when finishing.

From-SVN: r111963
gcc/ChangeLog
gcc/config/sh/sh.c