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] tree-*.[ch]: VECify referenced vars.


On Fri, May 06, 2005 at 10:42:15AM -0400, Kazu Hirata wrote:

> -      for (i = 0; i < num_referenced_vars; i++)
> +      for (i = 0; VEC_iterate (tree, referenced_vars, i, q); i++)
>  	{
> -	  q = referenced_var (i);
> 
Well, I dunno.  I have a minor preference for 'i < num_referenced_vars'
only because it's more concise.


Diego.


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