diff options
author | Jan Hubicka <jh@suse.cz> | 2010-05-11 10:14:50 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-05-11 08:14:50 +0000 |
commit | 99b766fc8bf3b91a7e326aeb07792eb33635184d (patch) | |
tree | 42568770dccb09df07e5beff55df5ce77b3c4957 /gcc/cgraph.h | |
parent | a940b4d9ab2566bce05dd5abb9b90467684a43e8 (diff) | |
download | gcc-99b766fc8bf3b91a7e326aeb07792eb33635184d.zip gcc-99b766fc8bf3b91a7e326aeb07792eb33635184d.tar.gz gcc-99b766fc8bf3b91a7e326aeb07792eb33635184d.tar.bz2 |
cgraphbuild.c (cgraph_rebuild_references): New.
* cgraphbuild.c (cgraph_rebuild_references): New.
(cgraph_mark_reachable_node): Accept references to optimized out
extern inlines.
* cgraph.h (cgraph_rebuild_references): Declare.
* tree-inline.c (tree_function_versioning): Use it.
* ipa-struct-reorg.c (do_reorg_for_func): Likewise.
From-SVN: r159259
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 93488c3..97df56b 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -619,6 +619,7 @@ 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 cgraph_rebuild_references (void); void reset_inline_failed (struct cgraph_node *); int compute_call_stmt_bb_frequency (tree, basic_block bb); |