summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-19 23:38:20 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-19 23:38:20 +0000
commit6137cc9f21b973f99a8973268be7115e3fa10826 (patch)
tree4156f0a5645b211f5f05d7ffb8bef1344cef32d4 /gcc/cgraph.h
parentd78f98117af9c15a9f03af2bba3d9e90bb3aa1d5 (diff)
downloadgcc-6137cc9f21b973f99a8973268be7115e3fa10826.tar.gz
PR middle-end/42344
* cgraph.h (cgraph_make_decl_local): Declare. * cgraph.c (cgraph_make_decl_local): New function. (cgraph_make_node_local): Use it. * cgraphunit.c (cgraph_function_versioning): Likewise. * ipa.c (function_and_variable_visibility): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156914 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 867a68aaf30..802b28038d9 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -565,6 +565,7 @@ void dump_varpool_node (FILE *, struct varpool_node *);
void varpool_finalize_decl (tree);
bool decide_is_variable_needed (struct varpool_node *, tree);
enum availability cgraph_variable_initializer_availability (struct varpool_node *);
+void cgraph_make_decl_local (tree);
void cgraph_make_node_local (struct cgraph_node *);
bool cgraph_node_can_be_local_p (struct cgraph_node *);