Issue B1: Vptr (was Let's move on)
Jason Merrill
jason at cygnus.com
Thu Mar 2 02:16:59 UTC 2000
Christophe de Dinechin <ddd at cup.hp.com> writes:
> Mark Mitchell wrote:
> >
> > >>>>> "Jim" == Jim Dehnert <dehnert at baalbek.engr.sgi.com> writes:
> >
> > Jim> OK. One thing came up in Christophe's previous mail, though.
> > Jim> Has anyone else been assuming that the vptr as well as "this"
> > Jim> would be passed to virtual functions, for whatever reason?
> >
> > Not I.
>
> I did not either, but thinking about it, it might be useful for
> virtual base adjustments.
I am strongly opposed to any caller-side overhead. Furthermore, this
would make the calling convention for non-static member functions
different from that for other functions, which seems like a lose.
Jason
More information about the cxx-abi-dev
mailing list