diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-09 22:58:29 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-09 22:58:29 +0000 |
commit | 786d45db7ebff269c37501cc38e1f3c7960c4815 (patch) | |
tree | 52208f13553d9abd4e95b2d4e1d9fbb2d75f2bc8 /gcc/tree-ssa-operands.c | |
parent | 7f26fdb576960b81d2e15ce06ef96ee7feda9370 (diff) | |
download | gcc-786d45db7ebff269c37501cc38e1f3c7960c4815.tar.gz |
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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82864 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index f0112755d96..cc246ce45be 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -886,16 +886,16 @@ get_expr_operands (tree stmt, tree *expr_p, int flags, voperands_t prev_vops) } else { - ssa_name_ann_t ptr_ann = NULL; + struct ptr_info_def *pi = NULL; /* If we have computed aliasing already, check if PTR has flow-sensitive points-to information. */ if (TREE_CODE (ptr) == SSA_NAME - && (ptr_ann = ssa_name_ann (ptr)) != NULL - && ptr_ann->name_mem_tag) + && (pi = SSA_NAME_PTR_INFO (ptr)) != NULL + && pi->name_mem_tag) { /* PTR has its own memory tag. Use it. */ - add_stmt_operand (&ptr_ann->name_mem_tag, stmt, flags, + add_stmt_operand (&pi->name_mem_tag, stmt, flags, prev_vops); } else @@ -910,7 +910,7 @@ get_expr_operands (tree stmt, tree *expr_p, int flags, voperands_t prev_vops) aliasing again. */ if (dump_file && TREE_CODE (ptr) == SSA_NAME - && ptr_ann == NULL) + && pi == NULL) { fprintf (dump_file, "NOTE: no flow-sensitive alias info for "); |