From 6544865aad7aa58b25d1d54a89088d92bf3c8901 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Thu, 1 Apr 2010 17:33:32 +0000 Subject: [PATCH] cgraph.c (cgraph_add_function_insertion_hook): Update comment. * cgraph.c (cgraph_add_function_insertion_hook): Update comment. (cgraph_remove_function_insertion_hook): Same. (cgraph_call_function_insertion_hooks): Same. From-SVN: r157920 --- gcc/ChangeLog | 6 ++++++ gcc/cgraph.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2a6a64dfae..e5fc45e43b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-04-01 Aldy Hernandez + + * cgraph.c (cgraph_add_function_insertion_hook): Update comment. + (cgraph_remove_function_insertion_hook): Same. + (cgraph_call_function_insertion_hooks): Same. + 2010-04-01 Richard Guenther PR middle-end/43614 diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 8fe72b44c53..c698d9a5502 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -273,7 +273,7 @@ cgraph_call_node_removal_hooks (struct cgraph_node *node) } } -/* Register HOOK to be called with DATA on each removed node. */ +/* Register HOOK to be called with DATA on each inserted node. */ struct cgraph_node_hook_list * cgraph_add_function_insertion_hook (cgraph_node_hook hook, void *data) { @@ -290,7 +290,7 @@ cgraph_add_function_insertion_hook (cgraph_node_hook hook, void *data) return entry; } -/* Remove ENTRY from the list of hooks called on removing nodes. */ +/* Remove ENTRY from the list of hooks called on inserted nodes. */ void cgraph_remove_function_insertion_hook (struct cgraph_node_hook_list *entry) { @@ -302,7 +302,7 @@ cgraph_remove_function_insertion_hook (struct cgraph_node_hook_list *entry) free (entry); } -/* Call all node removal hooks. */ +/* Call all node insertion hooks. */ void cgraph_call_function_insertion_hooks (struct cgraph_node *node) {