This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [java] ia64 c++ abi vtable changes
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: [java] ia64 c++ abi vtable changes
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Fri, 21 Sep 2001 16:42:48 +1200
- CC: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- References: <20010920153455.A964@redhat.com>
Richard Henderson wrote:
>It appears that I don't need to do anything for interfaces.
>That is, a call through an interface won't directly compute
>an offset into the vtable. Is that true?
>
Right. Interface calls use completely different tables, which are
generated at runtime (see _Jv_GenerateITable etc in
libjava/java/lang/natClass.cc). The compiler calls
_Jv_LookupInterfaceMethodIdx, which returns a void*. Do we need to
handle storing function descriptors in the interface tables for IA64?
regards
Bryce.