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: [tree-ssa]: Add two needed list functions, de-privative find_refs_in_stmt


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.


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