diff options
author | Patrick Marlier <patrick.marlier@gmail.com> | 2011-12-01 17:46:32 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2011-12-01 17:46:32 +0000 |
commit | 4b1b88f1345d5107785d04d992efba8e41b22c8c (patch) | |
tree | a4973a44ce2955c57be0c74167826201cb5f1f87 /gcc/cgraph.h | |
parent | c572f1438cc4a32963bc327296e95493104edb66 (diff) |
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: https://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 *); |