diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-10 17:29:23 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-10 17:29:23 +0000 |
commit | e7ec31c68b6ee397a45f772acf55485d5d21f30b (patch) | |
tree | c8746174b941f7ffdf61f96fa691892cadcf37f9 /gcc/tree-flow-inline.h | |
parent | 4d8ad352b51335a6eeb36452e4a92cb5e11842e7 (diff) | |
download | gcc-e7ec31c68b6ee397a45f772acf55485d5d21f30b.tar.gz |
* tree-flow-inline.h (is_exec_stmt): Remove.
(is_label_stmt): Remove.
* tree-flow.h: Remove prototypes for is_exec_stmt, get_filename, and
is_label_stmt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index ae55c3f4f6d..1e52d1f4fc5 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -681,31 +681,6 @@ set_is_used (tree var) ann->used = 1; } -/* Return true if T is an executable statement. */ -static inline bool -is_exec_stmt (const_tree t) -{ - return (t && !IS_EMPTY_STMT (t) && t != error_mark_node); -} - - -/* Return true if this stmt can be the target of a control transfer stmt such - as a goto. */ -static inline bool -is_label_stmt (const_tree t) -{ - if (t) - switch (TREE_CODE (t)) - { - case LABEL_DECL: - case LABEL_EXPR: - case CASE_LABEL_EXPR: - return true; - default: - return false; - } - return false; -} /* Return true if T (assumed to be a DECL) is a global variable. */ |