aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-05-27 23:17:51 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-05-27 21:17:51 +0000
commite0704a46ca6410f5c287ec2201bc14ded4af782f (patch)
tree37bf9cb1c1664316d4898541a22871ea20671627 /gcc/cgraph.h
parent0ff90076bf6704ce363af35a4491a6856a1d9e30 (diff)
downloadgcc-e0704a46ca6410f5c287ec2201bc14ded4af782f.zip
gcc-e0704a46ca6410f5c287ec2201bc14ded4af782f.tar.gz
gcc-e0704a46ca6410f5c287ec2201bc14ded4af782f.tar.bz2
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
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index c1c0b98..a10fcc6 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -142,7 +142,7 @@ struct cgraph_edge GTY((chain_next ("%h.next_caller"), chain_prev ("%h.prev_call
struct cgraph_edge *next_caller;
struct cgraph_edge *prev_callee;
struct cgraph_edge *next_callee;
- tree call_expr;
+ tree call_stmt;
PTR GTY ((skip (""))) aux;
/* When NULL, inline this call. When non-NULL, points to the explanation
why function was not inlined. */