diff options
author | Jan Hubicka <jh@suse.cz> | 2009-10-02 01:20:15 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-10-01 23:20:15 +0000 |
commit | 03ec7d01e07f3477397874f01ee7da39fc93d023 (patch) | |
tree | 851bbe5f7a341f0badf18bf5a177dfbf5e290e5c /gcc/cgraph.h | |
parent | 0ecdd2aae98b931eb50dff3c8013a1b7adcfaa95 (diff) | |
download | gcc-03ec7d01e07f3477397874f01ee7da39fc93d023.zip gcc-03ec7d01e07f3477397874f01ee7da39fc93d023.tar.gz gcc-03ec7d01e07f3477397874f01ee7da39fc93d023.tar.bz2 |
cgraph.c (cgraph_clone_node): Add redirect_callers parameter.
* cgraph.c (cgraph_clone_node): Add redirect_callers parameter.
(cgraph_create_virtual_clone): Just pass redirect_callers
around.
* cgraph.h (cgraph_clone_node): Update prototype.
* ipa-pure-const.c (self_recursive_p): New function.
(propagate): Use it.
* ipa-inline.c (cgraph_clone_inlined_nodes,
* cgraph_decide_recursive_inlining): Update.
* gcc.dg/tree-ssa/ipa-cp-1.c: New testcase.
From-SVN: r152388
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 67670ef..292eccd 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -409,7 +409,7 @@ struct cgraph_edge * cgraph_clone_edge (struct cgraph_edge *, struct cgraph_node *, gimple, gcov_type, int, int, bool); struct cgraph_node * cgraph_clone_node (struct cgraph_node *, gcov_type, int, - int, bool); + int, bool, VEC(cgraph_edge_p,heap) *); void cgraph_redirect_edge_callee (struct cgraph_edge *, struct cgraph_node *); |