decl.c (build_result_decl): New method.
authorPer Bothner <bothner@gcc.gnu.org>
Sun, 21 Feb 1999 15:42:17 +0000 (07:42 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sun, 21 Feb 1999 15:42:17 +0000 (07:42 -0800)

* 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

index 3f1b335b095f33d60806e038009fdeefd0860da1..b68e62aa152629cf84ffc36bc355d51b25cfa620 100644 (file)
@@ -1,5 +1,20 @@
 Sun Feb 21 14:56:11 1999  Per Bothner  <bothner@cygnus.com>
 
+       * 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  <bothner@cygnus.com>