summaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-04-27 08:26:40 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-04-27 08:26:40 +0000
commit33b223c0a6fccd7dc07d0181f32a85d9a2d5705b (patch)
tree7bd96046e8e540d4d965847fd834d09264a8bb2f /gcc/tree-flow-inline.h
parente3136fa27deb0cc0509b1960e89e8a3e2ae1afd2 (diff)
downloadgcc-33b223c0a6fccd7dc07d0181f32a85d9a2d5705b.tar.gz
tree-flow-inline.h (function_ann): Remove.
2009-04-27 Richard Guenther <rguenther@suse.de> * tree-flow-inline.h (function_ann): Remove. (get_function_ann): Likewise. * tree-dfa.c (create_function_ann): Remove. * tree-flow.h (struct static_var_ann_d): Remove. (struct function_ann_d): Likewise. (union tree_ann_d): Remove fdecl member. (function_ann_t): Remove. (function_ann, get_function_ann, create_function_ann): Remove declarations. From-SVN: r146828
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index 536a111bb44..6a1ae4ce7db 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -172,29 +172,6 @@ get_var_ann (tree var)
return (ann) ? ann : create_var_ann (var);
}
-/* Return the function annotation for T, which must be a FUNCTION_DECL node.
- Return NULL if the function annotation doesn't already exist. */
-static inline function_ann_t
-function_ann (const_tree t)
-{
- gcc_assert (t);
- gcc_assert (TREE_CODE (t) == FUNCTION_DECL);
- gcc_assert (!t->base.ann
- || t->base.ann->common.type == FUNCTION_ANN);
-
- return (function_ann_t) t->base.ann;
-}
-
-/* Return the function annotation for T, which must be a FUNCTION_DECL node.
- Create the function annotation if it doesn't exist. */
-static inline function_ann_t
-get_function_ann (tree var)
-{
- function_ann_t ann = function_ann (var);
- gcc_assert (!var->base.ann || var->base.ann->common.type == FUNCTION_ANN);
- return (ann) ? ann : create_function_ann (var);
-}
-
/* Get the number of the next statement uid to be allocated. */
static inline unsigned int
gimple_stmt_max_uid (struct function *fn)