[PATCH,java] VECify method tables in struct lang_type
Tom Tromey
tromey@redhat.com
Fri May 28 16:08:00 GMT 2010
>>>>> "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
More information about the Java-patches
mailing list