diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2010-04-01 17:33:32 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2010-04-01 17:33:32 +0000 |
commit | 6544865aad7aa58b25d1d54a89088d92bf3c8901 (patch) | |
tree | e59a23943d5e63be820906873183e42a361a5541 /gcc/cgraph.c | |
parent | dc683a3f632650d76a0fa061c7c52d7934b5a6c0 (diff) | |
download | gcc-6544865aad7aa58b25d1d54a89088d92bf3c8901.tar.gz |
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
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |