2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-10 04:00:27 +08:00

* tree-iterator.c (EXPR_LAST_BODY): Remove.

From-SVN: r146211
This commit is contained in:
Kazu Hirata 2009-04-16 18:44:12 +00:00 committed by Kazu Hirata
parent bfb69968c3
commit 4252a4aaf7
2 changed files with 4 additions and 13 deletions

@ -1,3 +1,7 @@
2009-04-16 Kazu Hirata <kazu@codesourcery.com>
* tree-iterator.c (EXPR_LAST_BODY): Remove.
2009-04-16 Kazu Hirata <kazu@codesourcery.com>
* except.c (eh_region_outer_p): Remove.

@ -320,19 +320,6 @@ expr_first (tree expr)
/* Return the last expression in a sequence of COMPOUND_EXPRs,
or in a STATEMENT_LIST. */
#define EXPR_LAST_BODY do { \
if (expr == NULL_TREE) \
return expr;\
if (TREE_CODE (expr) == STATEMENT_LIST) \
{ \
struct tree_statement_list_node *n = STATEMENT_LIST_TAIL (expr); \
return n ? n->stmt : NULL_TREE; \
} \
while (TREE_CODE (expr) == COMPOUND_EXPR) \
expr = TREE_OPERAND (expr, 1); \
return expr; \
} while (0)
tree
expr_last (tree expr)
{