]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
* cgraph.c: Include tree-gimple.h
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2005 21:17:51 +0000 (21:17 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2005 21:17:51 +0000 (21:17 +0000)
commit9bfec7c24c6fcb40e0ae5d03fc50302a99819e0c
tree37bf9cb1c1664316d4898541a22871ea20671627
parent985aa8deeb32944d06531e0ddc9652df5623ad6d
* cgraph.c: Include tree-gimple.h
(cgraph_edge): Rename expr to stmt.
(cgraph_create_edge): Likewise.
(cgraph_clone_node): Likewise.
* cgraph.h (cgraph_node): Use call_stmt instead of call_expr.
* cgraphunit.c (record_call_1): Rename to ...
(record_reference): ... this one; do not build edges.
(cgraph_varpool_analyze_pending_decls): Call record_reference directly.
(current_basic_block): Kill.
(cgraph_create_edges): Rewrite to work on gimple statements nicely.
(verify_cgraph_node): Likewise.
* tree-inline.c (copy_body_r): Do not mess up with cgraph edges.
(copy_bb): Mess up with cgraph edges here; simplify EH handling.
(copy_edges_for_bb): Simplify EH handling.
(expand_call_inline): Pass statement to cgraph_edge and
cgraph_create_edge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100276 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/tree-inline.c