summaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-16 20:40:25 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-16 20:40:25 +0000
commit4a6920120beaf2da27fba3e8f1f19361f78d645c (patch)
treeac3adfa1c4468b9b4aecc3bd7a72273f41e2f01b /gcc/tree-flow-inline.h
parent39cd001ae972d3fbc903ca568432f0b46cda67da (diff)
downloadgcc-4a6920120beaf2da27fba3e8f1f19361f78d645c.tar.gz
* tree-flow.h (struct var_ann_d): Remove has_hidden_use.
* gimple-low.c (expand_var_p): Don't check it. * tree-ssa-alias.c (setup_pointers_and_addressables): Likewise. * tree-ssa-copyrename.c (rename_ssa_copies): Likewise. * tree-ssa-operands.c (add_stmt_operand): Likewise. * tree-dfa.c (find_hidden_use_vars, find_hidden_use_vars_r): Kill. (find_referenced_vars): Don't call them. * tree-flow-inline.h (has_hidden_use, set_has_hidden_use): Kill. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84830 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index b6f81bc6019..08dc0eff275 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -97,24 +97,6 @@ may_aliases (tree var)
return ann ? ann->may_aliases : NULL;
}
-/* Return true if VAR has a hidden use, false if it does not. */
-static inline bool
-has_hidden_use (tree var)
-{
- var_ann_t ann = var_ann (var);
- return ann ? ann->has_hidden_use : false;
-}
-
-/* Set the hidden use flag on VAR. */
-static inline void
-set_has_hidden_use (tree var)
-{
- var_ann_t ann = var_ann (var);
- if (ann == NULL)
- ann = create_var_ann (var);
- ann->has_hidden_use = 1;
-}
-
/* Return the line number for EXPR, or return -1 if we have no line
number information for it. */
static inline int