diff options
author | Martin Liska <mliska@suse.cz> | 2014-06-04 11:39:24 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2014-06-04 09:39:24 +0000 |
commit | d211e4719264a66f3a310870d7459751c335ce7f (patch) | |
tree | 9145c7839e56bc45a6609950c9b5e844507d3d03 /gcc/cgraph.h | |
parent | a96bf0d3ceb411299cc5dedfc7705de9ac21988a (diff) | |
download | gcc-d211e4719264a66f3a310870d7459751c335ce7f.zip gcc-d211e4719264a66f3a310870d7459751c335ce7f.tar.gz gcc-d211e4719264a66f3a310870d7459751c335ce7f.tar.bz2 |
Enhancement of call graph API
* cgraph.h (expand_thunk): New argument added.
(address_taken_from_non_vtable_p): New global function.
* ipa-visibility.c (address_taken_from_non_vtable_p): Likewise.
* cgraphclones.c (duplicate_thunk_for_node): Argument added to call.
* cgraphunit.c (analyze_function): Likewise.
(assemble_thunks_and_aliases): Argument added to call.
(expand_thunk): New argument forces to produce GIMPLE thunk.
From-SVN: r211218
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index e5aa833..202c746 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -911,7 +911,7 @@ void fixup_same_cpp_alias_visibility (symtab_node *, symtab_node *target, tree); IN_SSA is true if the gimple is in SSA. */ basic_block init_lowered_empty_function (tree, bool); void cgraph_reset_node (struct cgraph_node *); -bool expand_thunk (struct cgraph_node *, bool); +bool expand_thunk (struct cgraph_node *, bool, bool); /* In cgraphclones.c */ @@ -979,6 +979,7 @@ bool varpool_externally_visible_p (varpool_node *); /* In ipa-visibility.c */ bool cgraph_local_node_p (struct cgraph_node *); +bool address_taken_from_non_vtable_p (symtab_node *node); /* In predict.c */ |