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: Andrew Haley <aph at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 27 May 2010 09:17:48 +0100
- Subject: Re: [PATCH,java] VECify method tables in struct lang_type
- References: <20100526212418.GP3534@codesourcery.com>
On 05/26/2010 10:24 PM, Nathan Froyd wrote:
> As $SUBJECT suggests. More TREE_LIST removal is a good thing.
>
> Tested on x86_64-unknown-linux-gnu (libjava). No regressions. OK to
> commit?
>
> -Nathan
>
> * java-tree.h (method_entry): Declare. Declare VECs containing it.
> (struct lang_type): Change type of otable_methods, atable_methods, and
> itable_methods to VECs. Fix comment for atable_methods.
> (emit_symbol_table): Take a VEC instead of a tree.
> (get_symbol_table_index): Take a VEC * instead of a tree *.
> * class.c (add_table_and_syms): Take a VEC instead of a tree.
> (emit_symbol_table): Update for changed parameter type.
> * expr.c (get_symbol_table_index): Likewise.
>
OK.
Andrew.