diff options
author | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2001-01-25 14:25:22 -0800 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2001-01-25 14:25:22 -0800 |
commit | c4faeb92870c2e757702e491d4d22c00e5080905 (patch) | |
tree | 0784ed59de14fb0bb1d22a8534203fe2bd586799 /gcc/java/class.c | |
parent | a8d1550a43a5d5ad6fbc6a07b36c654001b0ad84 (diff) | |
download | gcc-c4faeb92870c2e757702e491d4d22c00e5080905.zip gcc-c4faeb92870c2e757702e491d4d22c00e5080905.tar.gz gcc-c4faeb92870c2e757702e491d4d22c00e5080905.tar.bz2 |
ChangeLog (2001-01-21): Fixed typo.
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)
From-SVN: r39274
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 3d88143..b0b4719 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1773,10 +1773,6 @@ layout_class_method (this_class, super_class, method_decl, dtable_count) tree this_class, super_class, method_decl, dtable_count; { tree method_name = DECL_NAME (method_decl); - int method_name_is_wfl = - (TREE_CODE (method_name) == EXPR_WITH_FILE_LOCATION); - if (method_name_is_wfl) - method_name = java_get_real_method_name (method_decl); TREE_PUBLIC (method_decl) = 1; @@ -1799,10 +1795,6 @@ layout_class_method (this_class, super_class, method_decl, dtable_count) if (*ptr++ == '.') p = ptr; } - if (method_name_is_wfl) - EXPR_WFL_NODE (DECL_NAME (method_decl)) = get_identifier (p); - else - DECL_NAME (method_decl) = get_identifier (p); DECL_CONSTRUCTOR_P (method_decl) = 1; build_java_argument_signature (TREE_TYPE (method_decl)); } |