summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-04 11:11:09 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-04 11:11:09 +0000
commitcb8994e9e2886f6c541f94030edef89fe0a3a7c9 (patch)
treee78a59bd8a8cf8a4b394d41bfb4d7e3327aeb3cc /gcc/cgraph.h
parent071f6d39ee3232ddbcae388a6167b04a53417b80 (diff)
downloadgcc-cb8994e9e2886f6c541f94030edef89fe0a3a7c9.tar.gz
New callgraph wrapper function creation added
* cgraph.h (cgraph_make_wrapper): New function introduced. * cgraphunit.c (cgraph_make_wrapper): The function implementation. * ipa-inline.h (inline_analyze_function): The function is global. * ipa-inline-analysis.c (inline_analyze_function): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211222 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 202c746813f..9c6f55896b0 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -912,6 +912,8 @@ void fixup_same_cpp_alias_visibility (symtab_node *, symtab_node *target, tree);
basic_block init_lowered_empty_function (tree, bool);
void cgraph_reset_node (struct cgraph_node *);
bool expand_thunk (struct cgraph_node *, bool, bool);
+void cgraph_make_wrapper (struct cgraph_node *source,
+ struct cgraph_node *target);
/* In cgraphclones.c */