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] Rename callback in ipa-pure-const.c


On Wed, Jul 17, 2013 at 09:32:29PM -0400, David Malcolm wrote:
>     	* ipa-pure-const.c (generate_summary): Rename to...
>     	(pure_const_generate_summary): ... this.

Ok, thanks.

> diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c
> index 9705db1..542d33a 100644
> --- a/gcc/ipa-pure-const.c
> +++ b/gcc/ipa-pure-const.c
> @@ -906,7 +906,7 @@ register_hooks (void)
>     CONST.  */
>  
>  static void
> -generate_summary (void)
> +pure_const_generate_summary (void)
>  {
>    struct cgraph_node *node;
>  
> @@ -1513,7 +1513,7 @@ struct ipa_opt_pass_d pass_ipa_pure_const =
>    0,					/* todo_flags_start */
>    0                                     /* todo_flags_finish */
>   },
> - generate_summary,		        /* generate_summary */
> + pure_const_generate_summary,		/* generate_summary */
>   pure_const_write_summary,		/* write_summary */
>   pure_const_read_summary,		/* read_summary */
>   NULL,					/* write_optimization_summary */

	Jakub


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