This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: about non-compatible optimization (was: Re: patch to bring java vtables closer to g++ abi conformance)


>>>>> "Tuomas" == Tuomas Leikola <tuomas.leikola@digia.com> writes:

Tuomas> unless devirtualization can assume the class is already
Tuomas> initialized, and it most of all enables the inliner to do it's
Tuomas> stuff.

For any virtual call we already know the class is initialized -- the
class has to have been initialized for an instance of it to exist.
Devirtualizing such a call won't affect this.

Tom


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