From dd82eabd026e382d6bd34ab49c80521efbde3dae Mon Sep 17 00:00:00 2001
From: bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 5 May 1999 21:10:07 +0000
Subject: d 	* class.c (make_field_value):  DECL_INITIAL may be a string
 literal; 	temporarily zero it while calling rest_of_decl_compilation. 
 * java-tree.h (string_ptr_type_node):  Add declaration. 	* decl.c: 
 Define and initialize string_ptr_type_node. 	* parse.y (patch_string_cst): 
 Use string_ptr_type_node. 	* parse.h (LOOP_HAS_LABEL_P,
 LOOP_HAS_LABEL_SKIP_P):  Removed. 	* parse.y (for_statement):  Now
 unconditionally exit_block. 	(finish_labeled_statement):  No longer
 exit_block if for-loop. 	(patch_loop_statement):  Check harder if the
 loop is already labeled. 	* parse.y (patch_initialized_static_field): 
 Removed function. 	(maybe_generate_clinit):  Removed special handling for
 interfaces. 	(java_complete_expand_methods):  Do a preliminary
 java_complete_tree 	on <clinit> to determine if it can be removed. 
 (java_complete_expand_method):  Remove special handling for <clinit>. 
 (java_complete_lhs):  For BLOCK and EXPR_WITH_FILE_LOCATION 	optimize if we
 get back empty_stmt_node. 	For MODIFY_EXPR, re-do checking of static
 initializers. 	(fold_constant_for_init):  Don't return immediate if VAR_DECL.
 	For VAR_DECL, pass correct context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26790 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/java/parse.h | 12 ------------
 1 file changed, 12 deletions(-)

(limited to 'gcc/java/parse.h')

diff --git a/gcc/java/parse.h b/gcc/java/parse.h
index eca526a411e..56bcbf4c541 100644
--- a/gcc/java/parse.h
+++ b/gcc/java/parse.h
@@ -258,18 +258,6 @@ extern tree stabilize_reference PROTO ((tree));
 #define LOOP_EXPR_BODY_BODY_EXPR(NODE, R)			\
   LABELED_BLOCK_BODY (LOOP_EXPR_BODY_LABELED_BODY(NODE, R))
 
-/* Does a loop have a label ? */
-#define LOOP_HAS_LABEL_P(LOOP)					\
-  (ctxp->current_labeled_block					\
-   && LABELED_BLOCK_BODY (ctxp->current_labeled_block) == (LOOP))
-
-/* Same operation than the one performed above, but considering the
-   previous labeled block */
-#define LOOP_HAS_LABEL_SKIP_P(LOOP)					     \
-  (ctxp->current_labeled_block						     \
-   && TREE_CHAIN (ctxp->current_labeled_block)				     \
-   && LABELED_BLOCK_BODY (TREE_CHAIN (ctxp->current_labeled_block)) == (LOOP))
-
 #define PUSH_LABELED_BLOCK(B)				\
   {							\
     TREE_CHAIN (B) = ctxp->current_labeled_block;	\
-- 
cgit v1.2.1