diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-01 17:33:32 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-01 17:33:32 +0000 |
commit | 1359ee7afa8bb57cdaf6326609eb1b1d97668231 (patch) | |
tree | e59a23943d5e63be820906873183e42a361a5541 | |
parent | 59a40389351c0874ad843091f7403e52354c4e43 (diff) | |
download | gcc-1359ee7afa8bb57cdaf6326609eb1b1d97668231.tar.gz |
* cgraph.c (cgraph_add_function_insertion_hook): Update comment.
(cgraph_remove_function_insertion_hook): Same.
(cgraph_call_function_insertion_hooks): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157920 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <aldyh@redhat.com> + + * 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 <rguenther@suse.de> 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) { |