[PATCH,java] VECify method tables in struct lang_type

Andrew Haley aph@redhat.com
Thu May 27 08:18:00 GMT 2010


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.




More information about the Java-patches mailing list