From aecf41099bac0258050c052bdc1892e8b4a5d145 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 12 Aug 2003 20:34:51 +0000 Subject: 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/jcf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/java/jcf.h') diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 9706567..5b97fec 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -230,6 +230,9 @@ typedef struct JCF GTY(()) { #define ACC_INTERFACE 0x0200 #define ACC_ABSTRACT 0x0400 #define ACC_STRICT 0x0800 +/* "Invisible" refers to Miranda methods inserted into an abstract + #class. It is also used in the runtime. */ +#define ACC_INVISIBLE 0x1000 #define ACC_VISIBILITY (ACC_PUBLIC | ACC_PRIVATE | ACC_PROTECTED) -- cgit v1.1