summaryrefslogtreecommitdiffstats
path: root/gcc/varasm.c
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/varasm.c
parent3974200ffd9dafa7874221910611d07fb341435e (diff)
downloadppe42-gcc-2c0b522ddcf9182f468722a82afa1a3245c4239d.tar.gz
ppe42-gcc-2c0b522ddcf9182f468722a82afa1a3245c4239d.zip
* 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/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index ac535212056..d327cb2d8c2 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1662,7 +1662,7 @@ mark_referenced (tree id)
{
node = cgraph_node_for_identifier (id);
if (node)
- cgraph_mark_needed_node (node, 1);
+ cgraph_mark_needed_node (node);
}
vnode = cgraph_varpool_node_for_identifier (id);
OpenPOWER on IntegriCloud