From ececaeae34c362db09b9cfb0e62de0a4af0f53ef Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 19 Feb 1999 04:32:38 -0800 Subject: [PATCH] Use new TRY_FINALLY_EXPR tree node. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit � Use new TRY_FINALLY_EXPR tree node. See ChangeLog. From-SVN: r25311 --- gcc/java/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index d3140c349ef..baa85f21a8c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,20 @@ +Wed Feb 3 12:38:43 1999 Per Bothner + + * java-tree.def (FINALLY_EXPR): Removed. (Now uses TRY_FINALLY_EXPR.) + (TRY_EXPR): Simplify - it no longer has a finally clause. + * check-init.c (check_init): Handle TRY_FINALLY_EXPR. + Simpler handling of TRY_EXPR, which no longer has a finally clause. + * expr.c (java_lang_expand_expr): Likewise. + * java-tree.h (CATCH_EXPR_GET_EXPR): Removed - no longer needed. + * parse.h (java_get_catch_block), parse.y: Removed - no longer needed. + * parse.y (java_complete_lhs): Add support for TRY_FIANLLY_EXPR. + (build_try_statement): Remove finally parameter and handling. + (build_try_finally_statement): New function. + (patch_try_statement): No longer need to support finally clause. + (try_statement): Update grammar action rules. + * jcf-write.c (generate_bytecode_insns): Handle TRY_FINALLY_EXPR. + Simpler handling of TRY_EXPR, which no longer has a finally clause. + 1998-11-26 Andrew Haley * jcf-parse.c (get_constant): Add braces around computation of 'd' -- 2.30.2