This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 Fri, May 28, 2010 at 10:08:16AM -0600, Tom Tromey wrote:
> >>>>> "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 "+".

Committed as a follow-up.

Thanks,
-Nathan

	* expr.c (get_symbol_table_index): Add spaces in expression.

Index: expr.c
===================================================================
--- expr.c	(revision 159981)
+++ expr.c	(working copy)
@@ -2304,7 +2304,7 @@ get_symbol_table_index (tree t, tree spe
   e->special = special;
 
  done:
-  return i+1;
+  return i + 1;
 }
 
 tree 


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