summaryrefslogtreecommitdiff
path: root/gcc/tree-into-ssa.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-22 15:11:06 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-22 15:11:06 +0000
commit2d5e9bd761df15e11c77300d91683e5f78be45ac (patch)
tree83d41355265dad8ac773aa85fdc2733f21c163c9 /gcc/tree-into-ssa.c
parent309237c05c438f4d872caee1e15990e986d6a200 (diff)
downloadgcc-2d5e9bd761df15e11c77300d91683e5f78be45ac.tar.gz
* tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...
(rewrite_into_ssa): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95395 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r--gcc/tree-into-ssa.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index 0c4f80aa591..05229470901 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -1477,7 +1477,15 @@ rewrite_blocks (bool fix_virtual_phis)
/* Finalize the dominator walker. */
fini_walk_dominator_tree (&walk_data);
+ /* Debugging dumps. */
+ if (dump_file && (dump_flags & TDF_STATS))
+ {
+ dump_dfa_stats (dump_file);
+ dump_tree_ssa_stats (dump_file);
+ }
+
htab_delete (def_blocks);
+ def_blocks = NULL;
VEC_free (tree_on_heap, block_defs_stack);
block_defs_stack = NULL;
@@ -1611,13 +1619,6 @@ rewrite_into_ssa (bool all)
rewrite_blocks (false);
- /* Debugging dumps. */
- if (dump_file && (dump_flags & TDF_STATS))
- {
- dump_dfa_stats (dump_file);
- dump_tree_ssa_stats (dump_file);
- }
-
/* Free allocated memory. */
FOR_EACH_BB (bb)
BITMAP_FREE (dfs[bb->index]);