This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: PR 5942
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: tromey at redhat dot com
- Cc: apbianco at redhat dot com, gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Tue, 26 Mar 2002 21:56:40 -0500 (EST)
- Subject: Re: Patch: PR 5942
> From: Tom Tromey <tromey@redhat.com>
>
> >>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
>
> Kaveh> Please consider using ARRAY_SIZE(ctxp->modifier_ctx) (defined in
> Kaveh> libiberty.h) instead of an explicit sizeof() / sizeof().
> Kaveh> IMHO, ARRAY_SIZE is much more readable.
>
> On the branch I used what appeared to be the prevailing local style
> (i.e., sizeof/sizeof was used in the same function).
> On the trunk I used ARRAY_SIZE.
> Tom
Ok great. Thanks.
--
Kaveh R. Ghazi Director of Systems Architecture
ghazi@caip.rutgers.edu Qwest Global Services