diff options
author | Richard Guenther <rguenther@suse.de> | 2012-07-31 13:42:16 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-07-31 13:42:16 +0000 |
commit | b4e209fd1ad2bcceed90e8849e1ba903121013b4 (patch) | |
tree | 192672a5cf42f01db3b8769a1d6479c3497473ff /gcc/tree-flow.h | |
parent | 8539d639a863e52a59bad6ef6c7fbd7e80a4c042 (diff) | |
download | gcc-b4e209fd1ad2bcceed90e8849e1ba903121013b4.zip gcc-b4e209fd1ad2bcceed90e8849e1ba903121013b4.tar.gz gcc-b4e209fd1ad2bcceed90e8849e1ba903121013b4.tar.bz2 |
tree-flow.h (struct var_ann_d): Remove need_phi_state and current_def members.
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.
From-SVN: r190012
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 454445d..301bd7e 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; }; |