This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GGC Questions
On Tue, 2005-10-25 at 10:13 +0530, Ranjit Mathew wrote:
> On 10/25/05, Mike Stump <mrs@apple.com> wrote:
> > >
> > > First off, several fields are marked "skip", though the
> > > documents seem to strongly discourage this. For example,
> > > see ssa_use_operand_t in tree.h.
> >
> > Was this a question? :-) Skipping is anti-social and decreases the
> > flexibility of the software, that said, one can skip any field that
> > doesn't need to be walked without any technical problems, as that
> > field doesn't need to be walked.
>
> Thanks. Though I didn't frame the question properly (sorry),
> I wanted to know why we would want some fields of some
> nodes to be skipped. Is it because:
>
> 1. we want to reduce time spent in the GC,
>
Some people do this, but it doesn't really help, and will cause problems
later if we ever change the type of GC we have.