summaryrefslogtreecommitdiffstats
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-24 12:40:17 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-24 12:40:17 +0000
commit48f42a9a9a73f84deab78437ce66643214f32381 (patch)
treef89f7096e73c7e3897bc706a86a08d49270d459d /gcc/cgraph.h
parentea1a929fd73a1d6c04c612149bbd68e26294c3f8 (diff)
downloadppe42-gcc-48f42a9a9a73f84deab78437ce66643214f32381.tar.gz
ppe42-gcc-48f42a9a9a73f84deab78437ce66643214f32381.zip
2013-06-24 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/57539 * cgraphclones.c (cgraph_clone_node): Add parameter new_inlined_to, set global.inlined_to of the new node to it. All callers changed. * ipa-inline-transform.c (clone_inlined_nodes): New variable inlining_into, pass it to cgraph_clone_node. * ipa-prop.c (ipa_propagate_indirect_call_infos): Do not call ipa_free_edge_args_substructures. (ipa_edge_duplication_hook): Only add edges from inlined nodes to rdesc linked list. Do not assert rdesc edges have inlined caller. Assert we have found an rdesc in the rdesc list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200368 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index ef2a2a0a348..1e17cb70e8d 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -715,7 +715,7 @@ struct cgraph_edge * cgraph_clone_edge (struct cgraph_edge *,
unsigned, gcov_type, int, bool);
struct cgraph_node * cgraph_clone_node (struct cgraph_node *, tree, gcov_type,
int, bool, vec<cgraph_edge_p>,
- bool);
+ bool, struct cgraph_node *);
tree clone_function_name (tree decl, const char *);
struct cgraph_node * cgraph_create_virtual_clone (struct cgraph_node *old_node,
vec<cgraph_edge_p>,
OpenPOWER on IntegriCloud