This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,java] VECify method tables in struct lang_type


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]