From 92ada2426b902b319b1cacb44724ede37d3318cc Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Sun, 21 Feb 1999 07:42:17 -0800 Subject: [PATCH] decl.c (build_result_decl): New method. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit � * decl.c (build_result_decl), java-tree.h: New method. (complete_start_java_method): Handle synchronized methods. Don't build DECL_RESULT here. (Ordering dependency problem.) (start_java_method): Call build_result_decl here instead ... * parse.y (java_complete_expand_method): ... and here. (expand_start_java_method): Don't call complete_start_java_method here. (java_complete_expand_method): Call it here instead. * parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Moved to .. * java-tree.h: ... here. * expr.c (force_evaluation_order): Fix typo, don't handle ARRAY_REF. * parse.y (java_complete_lhs): Don't call force_evaluation_order for ARRAY_REF - it doesn't work when array bounds are checked. (patch_array_ref): Handle it here instead. From-SVN: r25344 --- gcc/java/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3f1b335b095..b68e62aa152 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,20 @@ Sun Feb 21 14:56:11 1999 Per Bothner + * decl.c (build_result_decl), java-tree.h: New method. + (complete_start_java_method): Handle synchronized methods. + Don't build DECL_RESULT here. (Ordering dependency problem.) + (start_java_method): Call build_result_decl here instead ... + * parse.y (java_complete_expand_method): ... and here. + (expand_start_java_method): Don't call complete_start_java_method here. + (java_complete_expand_method): Call it here instead. + * parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Moved to .. + * java-tree.h: ... here. + + * expr.c (force_evaluation_order): Fix typo, don't handle ARRAY_REF. + * parse.y (java_complete_lhs): Don't call force_evaluation_order + for ARRAY_REF - it doesn't work when array bounds are checked. + (patch_array_ref): Handle it here instead. + * jcf-write.c (generate_classfile): Emit "Exceptions" attribute. Fri Feb 19 15:35:01 1999 Per Bothner -- 2.30.2