dump.c (dequeue_and_dump): Handle START_CATCH_STMT, CLEANUP_STMT, and SCOPE_STMT.
authorMark Mitchell <mark@codesourcery.com>
Tue, 21 Sep 1999 20:32:44 +0000 (20:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 21 Sep 1999 20:32:44 +0000 (20:32 +0000)
* dump.c (dequeue_and_dump): Handle START_CATCH_STMT,
CLEANUP_STMT, and SCOPE_STMT.

From-SVN: r29564

gcc/cp/ChangeLog
gcc/cp/dump.c

index e9e05d0..ec8ddf1 100644 (file)
@@ -1,5 +1,8 @@
 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
        changes to option processing.
 
index ec46272..9ddc54f 100644 (file)
@@ -788,6 +788,34 @@ dequeue_and_dump (di)
       dump_next_stmt (di, t);
       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:
       if (TREE_INT_CST_HIGH (t))
        dump_int (di, "high", TREE_INT_CST_HIGH (t));