tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate reference_node_pool.

* tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate
	reference_node_pool.

From-SVN: r88769
This commit is contained in:
Diego Novillo 2004-10-08 18:02:26 +00:00 committed by Diego Novillo
parent b986ebf3ab
commit 6048b706dc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-08 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate
reference_node_pool.
2004-10-08 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c: Fix a comment typo.

View File

@ -1941,7 +1941,7 @@ init_pre (void)
unary_node_pool = create_alloc_pool ("Unary tree nodes",
tree_code_size (NEGATE_EXPR), 30);
reference_node_pool = create_alloc_pool ("Reference tree nodes",
tree_code_size (COMPONENT_REF), 30);
tree_code_size (ARRAY_REF), 30);
FOR_ALL_BB (bb)
{
EXP_GEN (bb) = set_new (true);