[RFC] Migrate pointers to members to the middle end
Tom Tromey
tromey@redhat.com
Thu Aug 9 20:02:00 GMT 2007
>>>>> "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
More information about the Gcc
mailing list