Commit 15342341 by Andrew Pinski Committed by Andrew Pinski

tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and
        idfs_cache at the end of the function.

From-SVN: r81815
parent 623f4556
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* tree-ssa-live (calculate_live_on_entry): Free saw_def * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and
idfs_cache at the end of the function.
* tree-ssa-live.c (calculate_live_on_entry): Free saw_def
at the end of the function. at the end of the function.
* tree-ssa-dce.c (perform_tree_ssa_dce): Free * tree-ssa-dce.c (perform_tree_ssa_dce): Free
......
...@@ -3352,6 +3352,7 @@ execute_pre (void) ...@@ -3352,6 +3352,7 @@ execute_pre (void)
memset (&pre_stats, 0, sizeof (struct pre_stats_d)); memset (&pre_stats, 0, sizeof (struct pre_stats_d));
free_alloc_pool (euse_node_pool); free_alloc_pool (euse_node_pool);
free_alloc_pool (eref_node_pool); free_alloc_pool (eref_node_pool);
free_alloc_pool (ephi_use_pool);
VARRAY_CLEAR (bexprs); VARRAY_CLEAR (bexprs);
for (i = 0; i < currbbs; i++) for (i = 0; i < currbbs; i++)
BITMAP_XFREE (pre_dfs[i]); BITMAP_XFREE (pre_dfs[i]);
...@@ -3362,6 +3363,7 @@ execute_pre (void) ...@@ -3362,6 +3363,7 @@ execute_pre (void)
BITMAP_XFREE (idfs_cache[i]); BITMAP_XFREE (idfs_cache[i]);
free (dfn); free (dfn);
free (idfs_cache);
} }
static bool static bool
......
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