From: Per Bothner Date: Fri, 19 Feb 1999 12:32:38 +0000 (-0800) Subject: Use new TRY_FINALLY_EXPR tree node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ececaeae34c362db09b9cfb0e62de0a4af0f53ef;p=gcc.git Use new TRY_FINALLY_EXPR tree node. � Use new TRY_FINALLY_EXPR tree node. See ChangeLog. From-SVN: r25311 --- 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'