+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
}
}
-/* 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)
{
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)
{
free (entry);
}
-/* Call all node removal hooks. */
+/* Call all node insertion hooks. */
void
cgraph_call_function_insertion_hooks (struct cgraph_node *node)
{