summaryrefslogtreecommitdiff
path: root/gcc/tree-ssanames.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-31 13:42:16 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-31 13:42:16 +0000
commit22d6c74e9bda1db592506831a6dff78701b12874 (patch)
tree192672a5cf42f01db3b8769a1d6479c3497473ff /gcc/tree-ssanames.c
parenta9f097cb33a56f654e3d4f1bf76552d5f2f7a5dd (diff)
downloadgcc-22d6c74e9bda1db592506831a6dff78701b12874.tar.gz
2012-07-31 Richard Guenther <rguenther@suse.de>
* tree-flow.h (struct var_ann_d): Remove need_phi_state and current_def members. * tree-into-ssa.c (struct def_blocks_d): Remove var member. (def_blocks): Remove. (struct var_info_d): New. (var_infos): New hashtable. (struct ssa_name_info): Add def_blocks member. (get_ssa_name_ann): Adjust. (get_var_info): New function. (get_phi_state, set_phi_state, get_current_def, set_current_def, get_def_blocks_for, find_def_blocks_for): Adjust. (insert_phi_nodes_compare_def_blocks): Rename to ... (insert_phi_nodes_compare_var_infos): ... this and adjust. (insert_phi_nodes): Adjust. (dump_tree_ssa, dump_tree_ssa_stats): Adjust. (def_blocks_hash, def_blocks_eq, def_blocks_free): Remove. (debug_def_blocks_r): Rename to ... (debug_var_infos_r): ... this and adjust. (var_info_hash): New function. (var_info_eq): Likewise. (rewrite_blocks): Adjust. (init_ssa_renamer): Likewise. (fini_ssa_renamer): Likewise. (delete_update_ssa): Likewise. (update_ssa): Likewise. * tree-ssanames.c (release_dead_ssa_names): Do not clear current defs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssanames.c')
-rw-r--r--gcc/tree-ssanames.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c
index 35e8751316d..67c406f4ba1 100644
--- a/gcc/tree-ssanames.c
+++ b/gcc/tree-ssanames.c
@@ -380,15 +380,8 @@ replace_ssa_name_symbol (tree ssa_name, tree sym)
static unsigned int
release_dead_ssa_names (void)
{
- tree t;
unsigned i, j;
int n = VEC_length (tree, FREE_SSANAMES (cfun));
- referenced_var_iterator rvi;
-
- /* Current defs point to various dead SSA names that in turn point to
- eventually dead variables so a bunch of memory is held live. */
- FOR_EACH_REFERENCED_VAR (cfun, t, rvi)
- set_current_def (t, NULL);
/* Now release the freelist. */
VEC_free (tree, gc, FREE_SSANAMES (cfun));