diff options
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 42f6a7b..d30cdf5 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -136,15 +136,6 @@ next_referenced_var (referenced_var_iterator *iter) return (tree) next_htab_element (&iter->hti); } -/* Return the variable annotation for T, which must be a _DECL node. - Return NULL if the variable annotation doesn't already exist. */ -static inline var_ann_t -var_ann (const_tree t) -{ - const var_ann_t *p = DECL_VAR_ANN_PTR (t); - return p ? *p : NULL; -} - /* Get the number of the next statement uid to be allocated. */ static inline unsigned int gimple_stmt_max_uid (struct function *fn) @@ -558,33 +549,6 @@ phi_arg_index_from_use (use_operand_p use) return index; } -/* Mark VAR as used, so that it'll be preserved during rtl expansion. */ - -static inline void -set_is_used (tree var) -{ - var_ann_t ann = var_ann (var); - ann->used = true; -} - -/* Clear VAR's used flag. */ - -static inline void -clear_is_used (tree var) -{ - var_ann_t ann = var_ann (var); - ann->used = false; -} - -/* Return true if VAR is marked as used. */ - -static inline bool -is_used_p (tree var) -{ - var_ann_t ann = var_ann (var); - return ann->used; -} - /* Return true if T (assumed to be a DECL) is a global variable. A variable is considered global if its storage is not automatic. */ |