diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-01 17:46:32 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-01 17:46:32 +0000 |
commit | ad687a96e99e60632d51e9754e3cfae67b00ceb2 (patch) | |
tree | a4973a44ce2955c57be0c74167826201cb5f1f87 /gcc/cgraph.h | |
parent | 52bcb12dc1d5b5f20af9bb055a01bb612a4a50ab (diff) | |
download | gcc-ad687a96e99e60632d51e9754e3cfae67b00ceb2.tar.gz |
PR middle-end/51273
* cgraph.h (cgraph_call_node_duplication_hooks): Declare.
* cgraph.c (cgraph_call_node_duplication_hooks): Make global.
* cgraphunit.c (cgraph_copy_node_for_versioning): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 834d3d4a443..0efce347261 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -513,6 +513,8 @@ struct cgraph_node * cgraph_clone_node (struct cgraph_node *, tree, gcov_type, int, bool, VEC(cgraph_edge_p,heap) *, bool); struct cgraph_node *cgraph_create_function_alias (tree, tree); +void cgraph_call_node_duplication_hooks (struct cgraph_node *node1, + struct cgraph_node *node2); void cgraph_redirect_edge_callee (struct cgraph_edge *, struct cgraph_node *); void cgraph_make_edge_direct (struct cgraph_edge *, struct cgraph_node *); |