Commit 6048b706 by Diego Novillo Committed by Diego Novillo

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
parent b986ebf3
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> 2004-10-08 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c: Fix a comment typo. * tree-cfg.c: Fix a comment typo.
......
...@@ -1941,7 +1941,7 @@ init_pre (void) ...@@ -1941,7 +1941,7 @@ init_pre (void)
unary_node_pool = create_alloc_pool ("Unary tree nodes", unary_node_pool = create_alloc_pool ("Unary tree nodes",
tree_code_size (NEGATE_EXPR), 30); tree_code_size (NEGATE_EXPR), 30);
reference_node_pool = create_alloc_pool ("Reference tree nodes", 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) FOR_ALL_BB (bb)
{ {
EXP_GEN (bb) = set_new (true); EXP_GEN (bb) = set_new (true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment