diff options
author | Richard Henderson <rth@redhat.com> | 2003-09-04 21:24:30 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-09-04 21:24:30 -0700 |
commit | 8dafba3ca49dbbd3ac78eb8d026576b9633d433c (patch) | |
tree | e52f1fb527a3257f89b40c552bfaabe7263e2310 /gcc/cgraph.h | |
parent | dd37c5a069e7520f2583ea70f58237de7b90e6e2 (diff) | |
download | gcc-8dafba3ca49dbbd3ac78eb8d026576b9633d433c.zip gcc-8dafba3ca49dbbd3ac78eb8d026576b9633d433c.tar.gz gcc-8dafba3ca49dbbd3ac78eb8d026576b9633d433c.tar.bz2 |
cgraph.c (cgraph_mark_reachable_node): Split out from ...
* 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.
From-SVN: r71104
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index f96ac0d..aaa09a2 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 */ |