java method calls and GIMPLE

Ian Lance Taylor iant@google.com
Wed Oct 11 17:11:00 GMT 2006


Andrew Haley <aph@redhat.com> writes:

> Yes.  You'll need to represent virtual function calls at the GIMPLE
> level, or to keep track of which calls are associated with which
> methods.  This is key to getting IPA to work.
> 
> It should be fairly easy, given a class and a vtable offset, to find
> the method.  This will require a callback into the front end.

But note that IPA via LTO is not going to permit callbacks into the
front end, because there isn't going to be a front end.  So the
information needs to be represented in GIMPLE somewhere.

Ian



More information about the Gcc mailing list