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]
Other format: [Raw text]

Re: [C++ patch] Hookize output_vtable_inherit


On Mon, 2003-06-23 at 11:18, Jan Hubicka wrote:
> > On Sat, 2003-06-21 at 12:06, Jan Hubicka wrote:
> > > 
> > > Hi,
> > > this patch adds hooks to assemble_variable to deal with output_vtable_inherit
> > > as discussed earlier.   I didn't find pleasant way to discover virtual tables
> > > and vtts, so I simply look for them in the list.
> > 
> > That's no good; let's not turn what used to be a constant-time operation
> > into a linear-time operation.  Add a mark bit if you need one.
> OK, here is updated patch.  There does not appear to be language
> specific decl flag but I can use generic tree flag.
> Does this look better?

Yes, this is OK.  output_vtable_inherit and assemble_vtable_inherit
should be working with trees, not RTL, but that's not your fault, so
there's no reason you should fix it.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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