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)
commit92ada2426b902b319b1cacb44724ede37d3318cc
tree654161a8778c1fca8b55029759bf6ad0c6108693
parentedd643a930e67d499d5e600749a450ff2d2a6bfc
decl.c (build_result_decl):  New method.


* 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