aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2010-04-01 17:33:32 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2010-04-01 17:33:32 +0000
commit6544865aad7aa58b25d1d54a89088d92bf3c8901 (patch)
treee59a23943d5e63be820906873183e42a361a5541 /gcc
parentdc683a3f632650d76a0fa061c7c52d7934b5a6c0 (diff)
downloadgcc-6544865aad7aa58b25d1d54a89088d92bf3c8901.zip
gcc-6544865aad7aa58b25d1d54a89088d92bf3c8901.tar.gz
gcc-6544865aad7aa58b25d1d54a89088d92bf3c8901.tar.bz2
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')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cgraph.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c2a6a64..e5fc45e 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 8fe72b4..c698d9a 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)
{