This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] Remove 'next' and 'prev' fields in gimple_statement_base
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Feb 2008 19:45:40 -0400
- Subject: Re: [tuples] Remove 'next' and 'prev' fields in gimple_statement_base
- References: <b798aad50802191153u1d64ea7jb82f63fbe1b8eb5a@mail.gmail.com>
> - It is different than the existing implementation. So the linked
> list manipulation code had corner cases when inserting and removing
> statements and sequences into other sequences.
Arghhh, I was hoping we'd never run into statements into separate
sequences. Oh well...
> Moving 'next' and 'prev' out of gimple means that gimple_seq are now
> exactly like STATEMENT_LIST. I also removed the *_link_* routines, as
Thanks for doing this.