]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraph.c
cgraph.c: Include tree-gimple.h
authorJan Hubicka <jh@suse.cz>
Fri, 27 May 2005 21:17:51 +0000 (23:17 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 27 May 2005 21:17:51 +0000 (21:17 +0000)
commite0704a46ca6410f5c287ec2201bc14ded4af782f
tree37bf9cb1c1664316d4898541a22871ea20671627
parent0ff90076bf6704ce363af35a4491a6856a1d9e30
cgraph.c: Include tree-gimple.h

* 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.

From-SVN: r100276
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/tree-inline.c