Commit 9f14fb64 by Mark Mitchell Committed by Mark Mitchell

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
parent e88d975c
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.
......
...@@ -788,6 +788,34 @@ dequeue_and_dump (di) ...@@ -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));
......
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