This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH,java] VECify method tables in struct lang_type
- From: Tom Tromey <tromey at redhat dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Fri, 28 May 2010 10:08:16 -0600
- Subject: Re: [PATCH,java] VECify method tables in struct lang_type
- References: <20100526212418.GP3534@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "Nathan" == Nathan Froyd <froydnj@codesourcery.com> writes:
Nathan> * java-tree.h (method_entry): Declare. Declare VECs containing it.
Nathan> (struct lang_type): Change type of otable_methods, atable_methods, and
Nathan> itable_methods to VECs. Fix comment for atable_methods.
Nathan> (emit_symbol_table): Take a VEC instead of a tree.
Nathan> (get_symbol_table_index): Take a VEC * instead of a tree *.
Nathan> * class.c (add_table_and_syms): Take a VEC instead of a tree.
Nathan> (emit_symbol_table): Update for changed parameter type.
Nathan> * expr.c (get_symbol_table_index): Likewise.
One little nit.
Nathan> + return i+1;
Spaces around the "+".
Ok with this change. Thanks for doing this.
Tom