This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Migrate pointers to members to the middle end
- From: Tom Tromey <tromey at redhat dot com>
- To: "Ollie Wild" <aaw at google dot com>
- Cc: "GCC List" <gcc at gcc dot gnu dot org>
- Date: Thu, 09 Aug 2007 13:43:59 -0600
- Subject: Re: [RFC] Migrate pointers to members to the middle end
- References: <65dd6fd50708071404n7bcb356fx4b267e1874062458@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Ollie" == Ollie Wild <aaw@google.com> writes:
Ollie> 1. Is pointer to member migration worthwhile? Can other languages
Ollie> besides C++ benefit from this?
Not Java. You might ask Andrea about CLR though.
Ollie> 4. Is a migration of virtual functions and virtual function tables
Ollie> required? Are the various language implementations sufficiently
Ollie> similar to be handled by a common infrastructure?
Java has 2 kinds of indirect function call (to be precise, this is the
"C++ ABI". The binary compatibility ABI is different -- but also
isn't open to this kind of optimization). Virtual calls are
implemented in a way that is compatible with C++. Interface calls are
implemented in a different way.
Tom