summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-05 04:24:30 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-05 04:24:30 +0000
commit2c0b522ddcf9182f468722a82afa1a3245c4239d (patch)
treee52f1fb527a3257f89b40c552bfaabe7263e2310 /gcc/cgraph.h
parent3974200ffd9dafa7874221910611d07fb341435e (diff)
downloadgcc-2c0b522ddcf9182f468722a82afa1a3245c4239d.tar.gz
* cgraph.c (cgraph_mark_reachable_node): Split out from ...
(cgraph_mark_needed_node): Remove needed argument. * cgraph.h: Update to match. * cgraphunit.c (decide_is_function_needed): Split out from ... (cgraph_finalize_function): Reorg. Avoid deferred_inline_function if we generated the function. (record_call_1): Update for cgraph_mark_reachable_node. * varasm.c (mark_referenced): Likewise. * objc/objc-act.c (mark_referenced_methods): Likewise. * decl2.c (mark_member_pointers_and_eh_handlers): Update for change in cgraph_mark_needed_node arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71104 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index f96ac0d0d59..aaa09a201e8 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -173,7 +173,8 @@ void cgraph_finalize_function (tree, tree);
void cgraph_finalize_compilation_unit (void);
void cgraph_create_edges (tree, tree);
void cgraph_optimize (void);
-void cgraph_mark_needed_node (struct cgraph_node *, int);
+void cgraph_mark_needed_node (struct cgraph_node *);
+void cgraph_mark_reachable_node (struct cgraph_node *);
bool cgraph_inline_p (tree, tree);
#endif /* GCC_CGRAPH_H */