diff options
author | Jan Hubicka <jh@suse.cz> | 2010-04-27 11:44:30 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-04-27 09:44:30 +0000 |
commit | fa5f5e275ffb6346e1f35180cd3a7283c98340dd (patch) | |
tree | f6e2acb576b9d9b2a9255d6a0a08d3fa74150b5a /gcc/cgraph.h | |
parent | 934f5b4225f21082f9d9e94cf5c12390d70a727f (diff) | |
download | gcc-fa5f5e275ffb6346e1f35180cd3a7283c98340dd.tar.gz |
cgraph.c (cgraph_propagate_frequency): New function.
* cgraph.c (cgraph_propagate_frequency): New function.
* cgraph.h (cgraph_propagate_frequency): Declare.
* ipa-inline.c (cgraph_clone_inlined_nodes): Call
cgraph_propagate_frequency.
* testsuite/gcc.dg/ipa/iinline-1.c (main): Rename to...
(test): ... this one.
From-SVN: r158775
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 9b9bf4d42d7..c208cfaeb63 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -557,6 +557,7 @@ struct cgraph_2node_hook_list *cgraph_add_node_duplication_hook (cgraph_2node_ho void cgraph_remove_node_duplication_hook (struct cgraph_2node_hook_list *); void cgraph_materialize_all_clones (void); gimple cgraph_redirect_edge_call_stmt_to_callee (struct cgraph_edge *); +bool cgraph_propagate_frequency (struct cgraph_node *node); /* In cgraphbuild.c */ unsigned int rebuild_cgraph_edges (void); void reset_inline_failed (struct cgraph_node *); |