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]

Re: -fvtable-gc


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:

Richard> What is METHOD_CALL_EXPR if not for calling methods?  If I have 

> That's a good question -- I never even heard of that before.

I don't think it's ever been used in the tree structure; I think it was
always just a placeholder for Michael's delegation extension whereby you
could change how method calls worked by overloading the "method call
operator".  I don't remember details; I tore that code out long, long ago.

I'm not sure why I didn't remove METHOD_CALL_EXPR entirely.

Richard> I get an OFFSET_REF, which isn't actually documented anywhere,
Richard> and I can't figure out what it means exactly.

> It's quasi-documented in cp/cp-tree.def.  I have never liked this
> construct much; it doesn't map directly to anything in the language
> itself, for example.

Agreed; it is too overloaded.  It can mean either Class::Member or
Object.*PtrMem.

Jason


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