This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Interface dispatch table optimization
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, java-patches at gcc dot gnu dot org
- Date: 09 Feb 2006 17:52:04 +0100
- Subject: Re: Patch: Interface dispatch table optimization
- References: <200602091558.k19FwT3j029875@earth.phy.uc.edu> <43EB66F9.1010701@redhat.com>
Bryce McKinlay <mckinlay@redhat.com> writes:
[...]
| >> -static _Jv_IDispatchTable null_idt = { {SHRT_MAX, 0, NULL} };
| >> +static _Jv_IDispatchTable null_idt = { {SHRT_MAX, 0, {}} };
| >>
| >
| > I cannot remember if {} is valid C++, I think it is but I am not sure.
| > I know it is invalid C.
| >
|
| Is there an alternative?
It is valid C++.
-- Gaby