aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-04-28 08:50:19 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-04-28 08:50:19 +0000
commit448ee6624d1ccc7626e13021c4d07db27d75a521 (patch)
treeeeeda80bc63372aa4a48d848ceb4bb06bb28cb7c /gcc/tree.h
parente8a861bd078e982b9020121454f331b1528b04b1 (diff)
downloadgcc-448ee6624d1ccc7626e13021c4d07db27d75a521.zip
gcc-448ee6624d1ccc7626e13021c4d07db27d75a521.tar.gz
gcc-448ee6624d1ccc7626e13021c4d07db27d75a521.tar.bz2
tree.h (SSA_NAME_VALUE): Remove.
2009-04-28 Richard Guenther <rguenther@suse.de> * tree.h (SSA_NAME_VALUE): Remove. (struct tree_ssa_name): Remove value_handle member. * tree-vrp.c (execute_vrp): Initialize/free the value-handle array for jump threading. * tree-ssa-propagate.c (ssa_prop_init): Do not initialize SSA_NAME_VALUEs. * print-tree.c (print_node): Do not dump SSA_NAME_VALUEs. * tree-flow.h (threadedge_initialize_values): Declare. (threadedge_finalize_values): Likewise. * tree-ssa-threadedge.c (ssa_name_values): New global variable. (SSA_NAME_VALUE): Define. (threadedge_initialize_values): New function. (threadedge_finalize_values): Likewise. * tree-ssa-dom.c (ssa_name_values): New global variable. (SSA_NAME_VALUE): Define. (tree_ssa_dominator_optimize): Initialize/free the value-handle array. From-SVN: r146877
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index d6550b5..1e58d52 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1854,10 +1854,6 @@ struct GTY(()) tree_exp {
#define SSA_NAME_PTR_INFO(N) \
SSA_NAME_CHECK (N)->ssa_name.ptr_info
-/* Get the value of this SSA_NAME, if available. */
-#define SSA_NAME_VALUE(N) \
- SSA_NAME_CHECK (N)->ssa_name.value_handle
-
#ifndef _TREE_FLOW_H
struct ptr_info_def;
#endif
@@ -1896,13 +1892,6 @@ struct GTY(()) tree_ssa_name {
/* Pointer attributes used for alias analysis. */
struct ptr_info_def *ptr_info;
- /* Value for SSA name used by various passes.
-
- Right now only invariants are allowed to persist beyond a pass in
- this field; in the future we will allow VALUE_HANDLEs to persist
- as well. */
- tree value_handle;
-
/* Immediate uses list for this SSA_NAME. */
struct ssa_use_operand_d imm_uses;
};