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: java method calls and GIMPLE


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


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