diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-08 18:44:02 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-08 18:44:02 +0000 |
commit | 76e435b59827b24023218ca99d634ed81cd28e7d (patch) | |
tree | 6fd631ddca25c1c6908f1589de9b99b80f6a38b4 /gcc/cgraphunit.c | |
parent | eb30d5d3cec1d09bb7396611bc7d772143c5f728 (diff) | |
download | gcc-76e435b59827b24023218ca99d634ed81cd28e7d.tar.gz |
* cgraph.c (thunk_adjust): Export.
* cgraphclones.c (cgraph_node::create_clone): Clone thunk info.
* cgraphunit.c (thunk_adjust): Export.
(cgraph_node::assemble_thunks_and_aliases): Do not assemble inlined
thunks.
* ipa-inline-analyssi.c (compute_inline_parameters): Thunks are
inlinable.
* tree-inline.c (expand_call_inline): Expand thunks inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 57618807c49..4bfcad78f59 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1471,7 +1471,7 @@ init_lowered_empty_function (tree decl, bool in_ssa, gcov_type count) non-null. THIS_ADJUSTING is nonzero for a this adjusting thunk and zero for a result adjusting thunk. */ -static tree +tree thunk_adjust (gimple_stmt_iterator * bsi, tree ptr, bool this_adjusting, HOST_WIDE_INT fixed_offset, tree virtual_offset) @@ -1907,6 +1907,7 @@ cgraph_node::assemble_thunks_and_aliases (void) for (e = callers; e;) if (e->caller->thunk.thunk_p + && !e->caller->global.inlined_to && !e->caller->thunk.add_pointer_bounds_args) { cgraph_node *thunk = e->caller; |