gcc/libjava/include
Andrew Haley 9dfc2ec225 jcf-parse.c (java_parse_file): Write otable and atable.
2003-10-01  Andrew Haley  <aph@redhat.com>

        * jcf-parse.c (java_parse_file): Write otable and atable.
        * java-tree.h (atable_methods): New.
        (atable_decl): New.
        (atable_syms_decl): New.
        (enum java_tree_index): Add JTI_ATABLE_METHODS, JTI_ATABLE_DECL,
        JTI_ATABLE_SYMS_DECL.  Rename JTI_METHOD_SYMBOL* to JTI_SYMBOL*.
        (symbol_*type): Rename method_symbol* to symbol*type.
        (emit_offset_symbol_table): Delete.
        (emit_symbol_table): New.
        (get_symbol_table_index): New.
        (atable_type): New.
        * expr.c (build_field_ref): Handle flag_indirect_dispatch.
        (build_known_method_ref): Likewise.
        (get_symbol_table_index): Rename from get_offset_table_index.
        Parameterize to allow re-use by differing types of symbol table.
        (build_invokevirtual): Pass table to get_offset_table_index.
        * decl.c (java_init_decl_processing): Push types and decls for
        atable and atable_syyms.
        * class.c (build_static_field_ref): Handle flag_indirect_dispatch.
        (make_class_data): Add new fields atable and atable_syms.
        (emit_symbol_table): Rename from emit_offset_symbol_table.
        Parameterize to allow re-use by different types of symbol table.
        (build_symbol_entry): Renamed from build_method_symbols_entry.

2003-10-01  Andrew Haley  <aph@redhat.com>

        * java/lang/natClass.cc (initializeClass): Check for otable and
        atable.
        (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
        loops using for().  Search superinterfaces.  Check for fields as
        well as methods.  Initialize atable as well as otable: check for
        static methods as well as virtual methods.
        * java/lang/Class.h (struct _Jv_AddressTable): New.
        (atable): New.
        (atable_syms): New.
        * include/jvm.h (_Jv_equalUtf8Consts): constify.
        * prims.cc (_Jv_equalUtf8Consts): constify.

From-SVN: r71979
2003-10-01 16:22:13 +00:00
..
.cvsignore cvsignore: New file to ignore files generated during build. 2002-10-10 05:21:53 +00:00
boehm-gc.h boehm.cc: Remove stray semicolon. 2002-12-28 06:38:52 +00:00
config.h.in acconfig.h: Removed most items. 2003-09-11 17:25:47 +00:00
default-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
dwarf2-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
i386-signal.h i386-signal.h (RESTORE): New. 2003-07-30 14:50:02 +00:00
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h
java-insns.h
java-interp.h defineclass.cc (handleMethodsEnd): Precompute code for static method. 2003-01-24 19:58:21 +00:00
java-props.h
jni.h boehm.cc: Remove stray semicolon. 2002-12-28 06:38:52 +00:00
jvm.h jcf-parse.c (java_parse_file): Write otable and atable. 2003-10-01 16:22:13 +00:00
jvmpi.h
Makefile.am
Makefile.in Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java. 2003-08-21 18:39:56 +00:00
no-gc.h
no-threads.h
posix-threads.h posix-threads.h: Include <machine/pal.h> on OSF. 2003-06-05 15:43:58 +00:00
posix.h configure.in: Check for usleep declaration. 2003-07-07 14:11:09 +00:00
powerpc-signal.h Oops, accidentally committed the 3.3 version to mainline. Undone. 2003-06-18 15:29:12 +00:00
s390-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
sparc-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
stamp-h.in
win32-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
win32-threads.h win32-threads.cc: (ensure_interrupt_event_initialized) New function for lazy initialization of an... 2003-09-19 08:28:43 +00:00
win32.h win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00
x86_64-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00