Commit 4252a4aa by Kazu Hirata Committed by Kazu Hirata

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

From-SVN: r146211
parent bfb69968
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.
* except.h: Remove the prototype for eh_region_outer_p.
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment