]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
Enhancement of call graph API
authorMartin Liska <mliska@suse.cz>
Wed, 4 Jun 2014 09:39:24 +0000 (11:39 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 4 Jun 2014 09:39:24 +0000 (09:39 +0000)
commitd211e4719264a66f3a310870d7459751c335ce7f
tree9145c7839e56bc45a6609950c9b5e844507d3d03
parenta96bf0d3ceb411299cc5dedfc7705de9ac21988a
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
gcc/ChangeLog
gcc/cgraph.h
gcc/cgraphclones.c
gcc/cgraphunit.c
gcc/ipa-visibility.c