aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.h
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1999-02-21 07:42:27 -0800
committerPer Bothner <bothner@gcc.gnu.org>1999-02-21 07:42:27 -0800
commit939d7216dca76eac6675e54f10154ad5d2898cfa (patch)
treebc94f54b074dc8162b8ed7adee22a07f1784413d /gcc/java/parse.h
parent2d5a51939f53e104020ac07784f5f2087aa06275 (diff)
downloadgcc-939d7216dca76eac6675e54f10154ad5d2898cfa.zip
gcc-939d7216dca76eac6675e54f10154ad5d2898cfa.tar.gz
gcc-939d7216dca76eac6675e54f10154ad5d2898cfa.tar.bz2
decl.c (build_result_decl): New method.
d * 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: r25346
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r--gcc/java/parse.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h
index aa35bd6..fa6b338eb 100644
--- a/gcc/java/parse.h
+++ b/gcc/java/parse.h
@@ -509,24 +509,6 @@ static jdeplist *reverse_jdep_list ();
(ARG ? build_tree_list (NULL, (ARG)) : NULL_TREE))
/* For exception handling, build diverse function calls */
-#define BUILD_MONITOR_ENTER(WHERE, ARG) \
- { \
- (WHERE) = build (CALL_EXPR, int_type_node, \
- build_address_of (soft_monitorenter_node), \
- build_tree_list (NULL_TREE, (ARG)), \
- NULL_TREE); \
- TREE_SIDE_EFFECTS (WHERE) = 1; \
- }
-
-#define BUILD_MONITOR_EXIT(WHERE, ARG) \
- { \
- (WHERE) = build (CALL_EXPR, int_type_node, \
- build_address_of (soft_monitorexit_node), \
- build_tree_list (NULL_TREE, (ARG)), \
- NULL_TREE); \
- TREE_SIDE_EFFECTS (WHERE) = 1; \
- }
-
#define BUILD_ASSIGN_EXCEPTION_INFO(WHERE, TO) \
{ \
(WHERE) = build (MODIFY_EXPR, void_type_node, (TO), \