aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-into-ssa.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2005-02-22 15:11:06 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2005-02-22 10:11:06 -0500
commit554beb3a44a24e429ea64b3b77bd7c95990b4849 (patch)
tree83d41355265dad8ac773aa85fdc2733f21c163c9 /gcc/tree-into-ssa.c
parent627851cd7f048b38917c1721f22624a4cabe62e4 (diff)
downloadgcc-554beb3a44a24e429ea64b3b77bd7c95990b4849.zip
gcc-554beb3a44a24e429ea64b3b77bd7c95990b4849.tar.gz
gcc-554beb3a44a24e429ea64b3b77bd7c95990b4849.tar.bz2
tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...
* tree-into-ssa.c (rewrite_blocks): Move debug dumps from ... (rewrite_into_ssa): ... here. From-SVN: r95395
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 0c4f80a..0522947 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]);