This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Migrate pointers to members to the middle end


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]