diff options
author | Jason Merrill <jason@redhat.com> | 2001-05-21 11:39:19 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-05-21 11:39:19 -0400 |
commit | 1a6025b4b81a386b54678f8641fbb00b144e6ddf (patch) | |
tree | 39cca1e9568d70f1c02863d9d447b7fd3eb0d235 /gcc/cp/dump.c | |
parent | 0fd0b7ee985eb454ead3a28f6a017065780e9587 (diff) | |
download | gcc-1a6025b4b81a386b54678f8641fbb00b144e6ddf.zip gcc-1a6025b4b81a386b54678f8641fbb00b144e6ddf.tar.gz gcc-1a6025b4b81a386b54678f8641fbb00b144e6ddf.tar.bz2 |
cp-tree.def (START_CATCH_STMT): Lose.
* cp-tree.def (START_CATCH_STMT): Lose.
* dump.c (cp_dump_tree): Don't dump it. Do dump HANDLER_PARMS.
* tree.c (cp_statement_code_p): Don't case it.
* semantics.c (cp_expand_stmt): Likewise.
* except.c (expand_start_catch_block): Don't start any blocks.
Return the type.
(expand_end_catch_block): Don't end any blocks.
* parse.y (handler): Don't pass anything from finish_handler_parms
to finish_handler.
* pt.c (tsubst_expr): Likewise.
* semantics.c (begin_handler): Call note_level_for_catch here.
(finish_handler_parms): Don't return anything.
(genrtl_catch_block, begin_catch_block): Lose.
(genrtl_handler): Call expand_start_catch here.
* cp-tree.h (START_CATCH_TYPE): Lose.
(HANDLER_TYPE): New.
From-SVN: r42388
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r-- | gcc/cp/dump.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index 3f0a118..6706ebf 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -230,6 +230,7 @@ cp_dump_tree (di, t) case HANDLER: dump_stmt (di, t); + dump_child ("parm", HANDLER_PARMS (t)); dump_child ("body", HANDLER_BODY (t)); dump_next_stmt (di, t); break; @@ -246,12 +247,6 @@ cp_dump_tree (di, t) dump_next_stmt (di, t); break; - case START_CATCH_STMT: - dump_stmt (di, t); - queue_and_dump_type (di, t); - dump_next_stmt (di, t); - break; - case USING_STMT: dump_stmt (di, t); dump_child ("nmsp", USING_STMT_NAMESPACE (t)); |