From 1a6025b4b81a386b54678f8641fbb00b144e6ddf Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 21 May 2001 11:39:19 -0400 Subject: 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 --- gcc/cp/dump.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gcc/cp/dump.c') 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)); -- cgit v1.1