mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 10:40:47 +08:00
tree-flow-inline.h (is_exec_stmt): Remove.
* 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. From-SVN: r127343
This commit is contained in:
parent
acbe5496b3
commit
df54b9ab94
@ -1,3 +1,10 @@
|
||||
2007-08-10 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2007-08-10 Andreas Krebbel <krebbel1@de.ibm.com>
|
||||
|
||||
* lower-subreg.c (resolve_shift_zext): Don't adjust
|
||||
|
@ -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. */
|
||||
|
||||
|
@ -535,9 +535,6 @@ static inline void update_stmt (tree);
|
||||
static inline bool stmt_modified_p (tree);
|
||||
static inline bitmap may_aliases (const_tree);
|
||||
static inline int get_lineno (tree);
|
||||
static inline const char *get_filename (tree);
|
||||
static inline bool is_exec_stmt (const_tree);
|
||||
static inline bool is_label_stmt (const_tree);
|
||||
static inline bitmap addresses_taken (tree);
|
||||
|
||||
/*---------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user