This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa]: Add two needed list functions, de-privative find_refs_in_stmt
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Sep 2002 21:03:57 -0400
- Subject: Re: [tree-ssa]: Add two needed list functions, de-privative find_refs_in_stmt
- Organization: Red Hat Canada
- References: <4FF8F5FD-D040-11D6-AF7A-000393575BCC@dberlin.org>
On Wed, 25 Sep 2002, Daniel Berlin wrote:
> 2002-09-23 Daniel Berlin <dberlin@dberlin.org>
>
> * tree-dfa.c (add_list_to_ref_list_end): New function.
> (add_list_to_ref_list_begin): Ditto.
> (find_list_node): Handle searching in empty lists.
> (find_refs_in_stmt): De-staticify.
>
Why do you need access to find_refs_in_stmt?
> + /* Add the contents of the list TOADD to the list LIST, at the
> beginning of
> + LIST. */
> + void
> + add_list_to_list_begin (list, toadd)
> + ref_list list;
> + ref_list toadd;
>
Blank line after the comment (the wrapping problem is with your
mailer?).
> + /* Add the contents of the list TOADD to the list LIST, at the end of
> LIST. */
> + void
> + add_list_to_list_end (list, toadd)
> + ref_list list;
> + ref_list toadd;
>
Same here.
Other than that, it's OK. Thanks.
Diego.