parse.y (java_check_regular_methods): Typo fixes.
authorTom Tromey <tromey@redhat.com>
Tue, 12 Aug 2003 20:34:51 +0000 (20:34 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 12 Aug 2003 20:34:51 +0000 (20:34 +0000)
commitaecf41099bac0258050c052bdc1892e8b4a5d145
treeb0eccc2bad8dc4ad0fc0c2540ee347467640fdec
parentb9172475adce3fec9e36fe6b98eeedba31c0d1f0
parse.y (java_check_regular_methods): Typo fixes.

* parse.y (java_check_regular_methods): Typo fixes.  Call
check_interface_throws_clauses.  Use
check_concrete_throws_clauses.
(check_interface_throws_clauses): New function.
(check_concrete_throws_clauses): New function.
(hack_is_accessible_p): New function.
(find_most_specific_methods_list): Added FIXME.
* typeck.c (lookup_do): Use `flags' argument to decide what to
do.  Reimplemented.
(lookup_argument_method_generic): New function.
(lookup_argument_method2): Removed.
* jcf.h (ACC_INVISIBLE): New define.
* jcf-write.c (generate_classfile): Skip invisible methods.
* class.c (add_miranda_methods): New function.
(layout_class_methods): Use it.
(get_access_flags_from_decl): Use ACC_INVISIBLE.
* java-tree.h (METHOD_INVISIBLE): New define.
(lang_decl_func) [invisible]: New field.
(lookup_argument_method_generic): Declare.
(SEARCH_INTERFACE): New define.
(SEARCH_SUPER): Likewise.
(SEARCH_ONLY_INTERFACE): Likewise.
(SEARCH_VISIBLE): Likewise.
(lookup_argument_method2): Removed declaration.

From-SVN: r70388
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/java-tree.h
gcc/java/jcf-write.c
gcc/java/jcf.h
gcc/java/parse.y
gcc/java/typeck.c