aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenth@gcc.gnu.org>2005-03-02 11:09:48 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-03-02 11:09:48 +0000
commit2563c2248f41b473e18c33125f40ef2196773fc0 (patch)
treebdb529abaec3ec0dbd00b6e655a0f76068edb9e0 /gcc/loop-init.c
parentceccf46b1067576cd6c9de7e4ab3af67aa35009e (diff)
downloadgcc-2563c2248f41b473e18c33125f40ef2196773fc0.zip
gcc-2563c2248f41b473e18c33125f40ef2196773fc0.tar.gz
gcc-2563c2248f41b473e18c33125f40ef2196773fc0.tar.bz2
cgraph.h (struct cgraph_edge): Add prev_caller and prev_callee fields.
2005-03-02 Richard Guenther <rguenth@gcc.gnu.org> * cgraph.h (struct cgraph_edge): Add prev_caller and prev_callee fields. (cgraph_node_remove_callees): Export. * cgraph.c (cgraph_create_edge): Initialize prev_caller and prev_callee. (cgraph_edge_remove_callee): New function. (cgraph_edge_remove_caller): Likewise. (cgraph_remove_edge): Use. (cgraph_redirect_edge_callee): Likewise. (cgraph_node_remove_callees): New function. (cgraph_node_remove_callers): Likewise. (cgraph_remove_node): Use. * tree-optimize.c (tree_rest_of_compilation): Use cgraph_node_remove_callees instead of manual loop. * cgraphunit.c (cgraph_finalize_function): Likewise. (cgraph_expand_function): Likewise. (cgraph_remove_unreachable_nodes): Likewise. From-SVN: r95777
Diffstat (limited to 'gcc/loop-init.c')
0 files changed, 0 insertions, 0 deletions