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: [PATCH] lookup_tag speedup


Zack Weinberg wrote:-

> Devang Patel <dpatel at apple dot com> writes:
> 
> > On Thursday, April 10, 2003, at 07:20 PM, Zack Weinberg wrote:
> >
> >> Devang Patel <dpatel at apple dot com> writes:
> >>
> >>> hmm.. I will look at lang_identifier approach. One immediate question
> >>> is - how to handle situations where we want to process all tags for
> >>> given binding level?
> >>
> >> With the list hanging off the ->tags member of struct binding_level,
> >> which already exists.
> >
> > I thought, ultimate plan is to get rid off that list all together.
> 
> My plan is to keep it but not use it for lookups.

Indeed - it's needed to update the lang identifier pointers for the
identifiers that were in the popped scope.

Neil.


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