diff options
| author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-25 22:25:22 +0000 |
|---|---|---|
| committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-25 22:25:22 +0000 |
| commit | cbce943bc5233272e33490498ea8ede87080e953 (patch) | |
| tree | 0784ed59de14fb0bb1d22a8534203fe2bd586799 /gcc/java/java-tree.h | |
| parent | bac628bc8e8b7c01415298a195e49d95cad43077 (diff) | |
| download | ppe42-gcc-cbce943bc5233272e33490498ea8ede87080e953.tar.gz ppe42-gcc-cbce943bc5233272e33490498ea8ede87080e953.zip | |
2001-01-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
* ChangeLog (2001-01-21): Fixed typo.
* class.c (layout_class_method): Code accounting for WFLed
method DECL_NAMEs deleted.
* constant.c (find_methodref_index): Likewise.
* decl.c (lang_mark_tree): Mark `wfl' field in struct lang_decl.
* java-tree.h (DECL_FUNCTION_WFL): New macro.
(struct lang_decl): New field `wfl'.
(java_get_real_method_name): Prototype deleted.
* mangle.c (mangle_method_decl): Code accounting for WFLed
method DECL_NAMEs deleted.
* parse.h (GET_METHOD_NAME): Macro deleted.
* parse.y (reset_method_name): Deleted.
(method_header): Set DECL_FUNCTION_WFL.
(check_abstract_method_header): Code accounting for WFLed method
DECL_NAMEs deleted.
(java_get_real_method_name): Deleted.
(check_method_redefinition): Code accounting for WFLed method
DECL_NAMEs deleted. Use DECL_FUNCTION_WFL.
(java_check_regular_methods): Likewise.
(java_check_abstract_methods): Likewise.
(java_expand_classes): Don't call `reset_method_name.'
(search_applicable_method_list): Use DECL_NAMEs instead of
GET_METHOD_NAME.
* typeck.c (lookup_do): Code accounting for WFLed method
DECL_NAMEs deleted.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01954.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-tree.h')
| -rw-r--r-- | gcc/java/java-tree.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index ed6ee9aa5c7..46e8f8a89a3 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -669,6 +669,8 @@ struct lang_identifier #define DECL_MAX_STACK(DECL) (DECL_LANG_SPECIFIC(DECL)->max_stack) /* Number of local variable slots needed for the arguments of this function. */ #define DECL_ARG_SLOT_COUNT(DECL) (DECL_LANG_SPECIFIC(DECL)->arg_slot_count) +/* Information on declaration location */ +#define DECL_FUNCTION_WFL(DECL) (DECL_LANG_SPECIFIC(DECL)->wfl) /* List of checked thrown exceptions, as specified with the `throws' keyword */ #define DECL_FUNCTION_THROWS(DECL) (DECL_LANG_SPECIFIC(DECL)->throws_list) @@ -835,6 +837,7 @@ struct lang_decl long localvariables_offset; int arg_slots; int max_locals, max_stack, arg_slot_count; + tree wfl; /* Information on the original location */ tree throws_list; /* Exception specified by `throws' */ tree function_decl_body; /* Hold all function's statements */ tree called_constructor; /* When decl is a constructor, the @@ -1037,7 +1040,6 @@ extern char *print_int_node PARAMS ((tree)); extern void parse_error_context PARAMS ((tree cl, const char *, ...)) ATTRIBUTE_PRINTF_2; extern tree build_primtype_type_ref PARAMS ((const char *)); -extern tree java_get_real_method_name PARAMS ((tree)); extern void finish_class PARAMS ((void)); extern void java_layout_seen_class_methods PARAMS ((void)); extern void check_for_initialization PARAMS ((tree)); |

