aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2004-06-09 22:58:29 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2004-06-09 18:58:29 -0400
commit313679b0b954e72f851877fb2d4d23afb149b47a (patch)
tree52208f13553d9abd4e95b2d4e1d9fbb2d75f2bc8 /gcc/tree-flow-inline.h
parent8041d6ab144891243a56c55dd1702a32aeb3f484 (diff)
downloadgcc-313679b0b954e72f851877fb2d4d23afb149b47a.zip
gcc-313679b0b954e72f851877fb2d4d23afb149b47a.tar.gz
gcc-313679b0b954e72f851877fb2d4d23afb149b47a.tar.bz2
Move SSA_NAME annotations into tree_ssa_name.
* tree-dfa.c (create_ssa_name_ann): Remove. * tree-flow-inline.h (ssa_name_ann, get_ssa_name_ann): Remove. * tree-flow.h (enum tree_ann_type): Remove SSA_NAME_ANN. (struct ssa_name_ann_d): Remove. (union tree_ann_d): Update. (ssa_name_ann_t): Remove. * tree-ssa-alias.c: (get_ptr_info): New local function. Replace references to ssa_name_ann_t with struct ptr_info_def. * tree-ssa-operands.c (get_expr_operands): Likewise. * tree.h (SSA_NAME_PTR_INFO): Define. (struct ptr_info_def): Declare. (struct tree_ssa_name): Add field 'ptr_info'. From-SVN: r82864
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index be997d0..5ef287a 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -64,27 +64,6 @@ get_stmt_ann (tree stmt)
return (ann) ? ann : create_stmt_ann (stmt);
}
-static inline ssa_name_ann_t
-ssa_name_ann (tree t)
-{
-#if defined ENABLE_CHECKING
- if (t == NULL_TREE
- || TREE_CODE (t) != SSA_NAME
- || (t->common.ann
- && t->common.ann->common.type != SSA_NAME_ANN))
- abort ();
-#endif
-
- return (ssa_name_ann_t) t->common.ann;
-}
-
-static inline ssa_name_ann_t
-get_ssa_name_ann (tree var)
-{
- ssa_name_ann_t ann = ssa_name_ann (var);
- return (ann) ? ann : create_ssa_name_ann (var);
-}
-
static inline enum tree_ann_type
ann_type (tree_ann ann)