dump.c (dequeue_and_dump): Handle START_CATCH_STMT, CLEANUP_STMT, and SCOPE_STMT.

* dump.c (dequeue_and_dump): Handle START_CATCH_STMT,
	CLEANUP_STMT, and SCOPE_STMT.

From-SVN: r29564
This commit is contained in:
Mark Mitchell 1999-09-21 20:32:44 +00:00 committed by Mark Mitchell
parent e88d975c08
commit 9f14fb6404
2 changed files with 31 additions and 0 deletions

View File

@ -1,5 +1,8 @@
1999-09-21 Mark Mitchell <mark@codesourcery.com> 1999-09-21 Mark Mitchell <mark@codesourcery.com>
* dump.c (dequeue_and_dump): Handle START_CATCH_STMT,
CLEANUP_STMT, and SCOPE_STMT.
* decl2.c (lang_decode_option): Adjust, in the wake of recent * decl2.c (lang_decode_option): Adjust, in the wake of recent
changes to option processing. changes to option processing.

View File

@ -788,6 +788,34 @@ dequeue_and_dump (di)
dump_next_stmt (di, t); dump_next_stmt (di, t);
break; break;
case START_CATCH_STMT:
dump_stmt (di, t);
if (dump_children_p)
queue_and_dump_type (di, TREE_TYPE (t), /*dump_children_p=*/1);
dump_next_stmt (di, t);
break;
case CLEANUP_STMT:
dump_stmt (di, t);
if (dump_children_p)
{
dump_child ("decl", CLEANUP_DECL (t));
dump_child ("expr", CLEANUP_EXPR (t));
}
dump_next_stmt (di, t);
break;
case SCOPE_STMT:
dump_stmt (di, t);
if (SCOPE_BEGIN_P (t))
dump_string (di, "begn");
else
dump_string (di, "end");
if (SCOPE_NULLIFIED_P (t))
dump_string (di, "null");
dump_next_stmt (di, t);
break;
case INTEGER_CST: case INTEGER_CST:
if (TREE_INT_CST_HIGH (t)) if (TREE_INT_CST_HIGH (t))
dump_int (di, "high", TREE_INT_CST_HIGH (t)); dump_int (di, "high", TREE_INT_CST_HIGH (t));