Commit 8a0c568f by Tom Tromey Committed by Tom Tromey

java-tree.h (struct lang_decl_func): Remove.

	* java-tree.h (struct lang_decl_func) <function_decl_body>:
	Remove.
	<init_final>: Likewise.
	* lang.c (java_dump_tree): Update.
	* java-tree.h (DECL_FUNCTION_BODY): Remove.

From-SVN: r128513
parent 2515e5a7
2007-09-15 Tom Tromey <tromey@redhat.com>
* java-tree.h (struct lang_decl_func) <function_decl_body>:
Remove.
<init_final>: Likewise.
* lang.c (java_dump_tree): Update.
* java-tree.h (DECL_FUNCTION_BODY): Remove.
2007-09-11 Jan Hubicka <jh@suse.cz> 2007-09-11 Jan Hubicka <jh@suse.cz>
* decl.c (java_expand_body): Kill. * decl.c (java_expand_body): Kill.
......
...@@ -722,10 +722,6 @@ union lang_tree_node ...@@ -722,10 +722,6 @@ union lang_tree_node
/* List of checked thrown exceptions, as specified with the `throws' /* List of checked thrown exceptions, as specified with the `throws'
keyword */ keyword */
#define DECL_FUNCTION_THROWS(DECL) (DECL_LANG_SPECIFIC(DECL)->u.f.throws_list) #define DECL_FUNCTION_THROWS(DECL) (DECL_LANG_SPECIFIC(DECL)->u.f.throws_list)
/* Pointer to the function's current's COMPOUND_EXPR tree (while
completing its body) or the function's block */
#define DECL_FUNCTION_BODY(DECL) \
(DECL_LANG_SPECIFIC(DECL)->u.f.function_decl_body)
/* For each function decl, init_test_table contains a hash table whose /* For each function decl, init_test_table contains a hash table whose
entries are keyed on class names, and whose values are local entries are keyed on class names, and whose values are local
boolean decls. The variables are intended to be TRUE when the boolean decls. The variables are intended to be TRUE when the
...@@ -801,7 +797,6 @@ struct lang_decl_func GTY(()) ...@@ -801,7 +797,6 @@ struct lang_decl_func GTY(())
only a source_location if USE_MAPPED_LOCATION. FIXME. */ only a source_location if USE_MAPPED_LOCATION. FIXME. */
source_location last_line; /* End line number for a function decl */ source_location last_line; /* End line number for a function decl */
tree throws_list; /* Exception specified by `throws' */ tree throws_list; /* Exception specified by `throws' */
tree function_decl_body; /* Hold all function's statements */
/* Class initialization test variables */ /* Class initialization test variables */
htab_t GTY ((param_is (struct treetreehash_entry))) init_test_table; htab_t GTY ((param_is (struct treetreehash_entry))) init_test_table;
...@@ -810,7 +805,6 @@ struct lang_decl_func GTY(()) ...@@ -810,7 +805,6 @@ struct lang_decl_func GTY(())
htab_t GTY ((param_is (union tree_node))) ict; htab_t GTY ((param_is (union tree_node))) ict;
unsigned int native : 1; /* Nonzero if this is a native method */ unsigned int native : 1; /* Nonzero if this is a native method */
unsigned int init_final : 1; /* Nonzero all finals are initialized */
unsigned int strictfp : 1; unsigned int strictfp : 1;
unsigned int invisible : 1; /* Set for methods we generate unsigned int invisible : 1; /* Set for methods we generate
internally but which shouldn't be internally but which shouldn't be
......
...@@ -836,8 +836,6 @@ java_dump_tree (void *dump_info, tree t) ...@@ -836,8 +836,6 @@ java_dump_tree (void *dump_info, tree t)
dump_string (di, "extern"); dump_string (di, "extern");
else else
dump_string (di, "static"); dump_string (di, "static");
if (DECL_LANG_SPECIFIC (t))
dump_child ("body", DECL_FUNCTION_BODY (t));
if (DECL_LANG_SPECIFIC (t) && !dump_flag (di, TDF_SLIM, t)) if (DECL_LANG_SPECIFIC (t) && !dump_flag (di, TDF_SLIM, t))
dump_child ("inline body", DECL_SAVED_TREE (t)); dump_child ("inline body", DECL_SAVED_TREE (t));
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment