[cfe-dev] Optimizing vcalls from structors and virtual this-adjusting thunks

Timur Iskhodzhanov timurrrr at google.com
Sat Nov 9 05:24:54 PST 2013


2013/11/7 Timur Iskhodzhanov <timurrrr at google.com>:
> Hi John,
> ...
> I also have a somewhat related ABI question.
> Is there any reason to keep virtual this-adjusting thunks in the
> vtable when the class is fully constructed?
> I think all the offsets between bases are known statically at the end
> of the complete object constructor, so a special "final vtable" with
> only static this adjusting thunks can be used instead of a regular
> vtable?
> Am I missing something?

John, do you have any opinions on the most derived class vtable question?

> --
> Thanks,
> Timur



More information about the cfe-dev mailing list