aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-03-28 12:00:07 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2009-03-28 11:00:07 +0000
commit144e8aac3db919da759194f93628b91377afc4eb (patch)
treec08f8afe0e5fdd9e320ec693410d8f7c2419be3d /gcc/cgraph.h
parent4a371c8d8f4d2f1aa40d8a976d3d0b157bdb8552 (diff)
downloadgcc-144e8aac3db919da759194f93628b91377afc4eb.zip
gcc-144e8aac3db919da759194f93628b91377afc4eb.tar.gz
gcc-144e8aac3db919da759194f93628b91377afc4eb.tar.bz2
cgraph.c (cgraph_node, [...]): Remove master clone handling.
* cgraph.c (cgraph_node, cgraph_remove_node, dump_cgraph_node, cgraph_clone_node): Remove master clone handling. (cgraph_is_master_clone, cgraph_master_clone): Remove. * cgraph.h (master_clone): Remove. (cgraph_is_master_clone, cgraph_master_clone): Remove. * ipa-type-escape.c (type_escape_execute): Remove use of master clone. (tree-ssa-structalias.c (ipa_pta_execute): Likewise. From-SVN: r145175
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 29fc1ba..7f2cc7a 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -143,9 +143,6 @@ struct cgraph_node GTY((chain_next ("%h.next"), chain_prev ("%h.previous")))
/* Pointer to the next clone. */
struct cgraph_node *next_clone;
struct cgraph_node *prev_clone;
- /* Pointer to a single unique cgraph node for this function. If the
- function is to be output, this is the copy that will survive. */
- struct cgraph_node *master_clone;
/* For functions with many calls sites it holds map from call expression
to the edge to speed up cgraph_edge function. */
htab_t GTY((param_is (struct cgraph_edge))) call_site_hash;
@@ -334,8 +331,6 @@ bool cgraph_function_possibly_inlined_p (tree);
void cgraph_unnest_node (struct cgraph_node *);
enum availability cgraph_function_body_availability (struct cgraph_node *);
-bool cgraph_is_master_clone (struct cgraph_node *);
-struct cgraph_node *cgraph_master_clone (struct cgraph_node *);
void cgraph_add_new_function (tree, bool);
/* In cgraphunit.c */