aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-07-31 13:42:16 +0000
committerRichard Guenther <rguenther@suse.de>2012-07-31 13:42:16 +0000
commit3ac01c04ed69ec469d527b0d0826b4161804c232 (patch)
tree192672a5cf42f01db3b8769a1d6479c3497473ff /gcc/tree-flow.h
parentab5f657d9c18058258c082ec3ed5e83f6c4389df (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@190012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 454445d8637..301bd7e9c83 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -184,17 +184,8 @@ struct GTY(()) var_ann_d {
applied. We set this when translating out of SSA form. */
unsigned used : 1;
- /* This field indicates whether or not the variable may need PHI nodes.
- See the enum's definition for more detailed information about the
- states. */
- ENUM_BITFIELD (need_phi_state) need_phi_state : 2;
-
/* Used by var_map for the base index of ssa base variables. */
unsigned base_index;
-
- /* During into-ssa and the dominator optimizer, this field holds the
- current version of this variable (an SSA_NAME). */
- tree current_def;
};