diff options
author | Richard Guenther <rguenther@suse.de> | 2006-12-13 12:17:02 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-12-13 12:17:02 +0000 |
commit | a22831b13c3aa9d3cecad957175b1d3b9491d161 (patch) | |
tree | f36aed5e522833a63ef12c2f123c40420051320d /gcc/ipa-inline.c | |
parent | 75c7c595ac14c1ea2ea36eecd1eab3e314903377 (diff) | |
download | gcc-a22831b13c3aa9d3cecad957175b1d3b9491d161.zip gcc-a22831b13c3aa9d3cecad957175b1d3b9491d161.tar.gz gcc-a22831b13c3aa9d3cecad957175b1d3b9491d161.tar.bz2 |
ipa-inline.c (cgraph_flatten_node): Replace leafify with flatten.
2006-12-13 Richard Guenther <rguenther@suse.de>
* ipa-inline.c (cgraph_flatten_node): Replace leafify with
flatten.
(cgraph_decide_inlining): Likewise.
From-SVN: r119827
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 8e47f36..feb104f 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -558,7 +558,7 @@ cgraph_find_cycles (struct cgraph_node *node, htab_t cycles) node->aux = 0; } -/* Leafify the cgraph node. We have to be careful in recursing +/* Flatten the cgraph node. We have to be careful in recursing as to not run endlessly in circles of the callgraph. We do so by using a hashtab of cycle entering nodes as generated by cgraph_find_cycles. */ @@ -983,7 +983,7 @@ cgraph_decide_inlining (void) htab_t cycles; if (dump_file) fprintf (dump_file, - "Leafifying %s\n", cgraph_node_name (node)); + "Flattening %s\n", cgraph_node_name (node)); cycles = htab_create (7, htab_hash_pointer, htab_eq_pointer, NULL); cgraph_find_cycles (node, cycles); cgraph_flatten_node (node, cycles); |