cgraph.h (varpool_node_hook, [...]): Declare.
authorJan Hubicka <jh@suse.cz>
Sun, 8 Sep 2013 16:18:04 +0000 (18:18 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 8 Sep 2013 16:18:04 +0000 (16:18 +0000)
commit26e5b0fd2818c746fcd016bd1b6fa434204a5d72
tree6075f267e3874e93d97b8ce0a1942ed9d03f860a
parent97f1f314feae938cf854af1ab844196383d0ddc2
cgraph.h (varpool_node_hook, [...]): Declare.

* cgraph.h (varpool_node_hook, varpool_node_hook_list,
varpool_add_node_removal_hook, varpool_add_variable_insertion_hook,
varpool_remove_variable_insertion_hook): Declare.
* varpool.c (varpool_node_hook_list): New structure.
(first_varpool_node_removal_hook,
first_varpool_variable_insertion_hook): New variables.
(varpool_add_node_removal_hook, varpool_remove_node_removal_hook,
varpool_call_node_removal_hooks, varpool_add_variable_insertion_hook,
varpool_remove_variable_insertion_hook,
varpool_call_variable_insertion_hooks): New functions.
(varpool_remove_node): Use it.

From-SVN: r202367
gcc/ChangeLog
gcc/cgraph.h
gcc/varpool.c