This is the mail archive of the gcc-patches@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: Status: vtable thunks for base classes bug.


>>>>> Martin v Loewis <martin@mira.isdn.cs.tu-berlin.de> writes:

 > In the next step, I will try to modify the constructors to pass these
 > tables around, and iterate through them. There will be a limited form
 > of backwards-compatibility: the old constructor will wrap around the
 > new one, so calls to the old constructor will succeed (at the cost of
 > additionl parameter copies).

You can use current_function_is_thunk to avoid the additional copies.

Other nits:

Please use NULL_TREE instead of 0 where appropriate.

Please describe in the function comments what the parameters mean.

More later.

Jason


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