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
This commit is contained in:
Andrew Pinski 2004-05-13 23:10:34 +00:00 committed by Andrew Pinski
parent 623f4556de
commit 15342341aa
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,9 @@
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.
* tree-ssa-dce.c (perform_tree_ssa_dce): Free

View File

@ -3352,6 +3352,7 @@ execute_pre (void)
memset (&pre_stats, 0, sizeof (struct pre_stats_d));
free_alloc_pool (euse_node_pool);
free_alloc_pool (eref_node_pool);
free_alloc_pool (ephi_use_pool);
VARRAY_CLEAR (bexprs);
for (i = 0; i < currbbs; i++)
BITMAP_XFREE (pre_dfs[i]);
@ -3362,6 +3363,7 @@ execute_pre (void)
BITMAP_XFREE (idfs_cache[i]);
free (dfn);
free (idfs_cache);
}
static bool