Commit a22831b1 by Richard Guenther Committed by Richard Biener

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
parent 75c7c595
2006-12-13 Richard Guenther <rguenther@suse.de> 2006-12-13 Richard Guenther <rguenther@suse.de>
* ipa-inline.c (cgraph_flatten_node): Replace leafify with
flatten.
(cgraph_decide_inlining): Likewise.
2006-12-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/17687 PR tree-optimization/17687
* builtins.def (BUILT_IN_CEXPI, BUILT_IN_CEXPIF, BUILT_IN_CEXPIL): * builtins.def (BUILT_IN_CEXPI, BUILT_IN_CEXPIF, BUILT_IN_CEXPIL):
New builtins for imaginary argument cexp. New builtins for imaginary argument cexp.
......
...@@ -558,7 +558,7 @@ cgraph_find_cycles (struct cgraph_node *node, htab_t cycles) ...@@ -558,7 +558,7 @@ cgraph_find_cycles (struct cgraph_node *node, htab_t cycles)
node->aux = 0; 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. as to not run endlessly in circles of the callgraph.
We do so by using a hashtab of cycle entering nodes as generated We do so by using a hashtab of cycle entering nodes as generated
by cgraph_find_cycles. */ by cgraph_find_cycles. */
...@@ -983,7 +983,7 @@ cgraph_decide_inlining (void) ...@@ -983,7 +983,7 @@ cgraph_decide_inlining (void)
htab_t cycles; htab_t cycles;
if (dump_file) if (dump_file)
fprintf (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); cycles = htab_create (7, htab_hash_pointer, htab_eq_pointer, NULL);
cgraph_find_cycles (node, cycles); cgraph_find_cycles (node, cycles);
cgraph_flatten_node (node, cycles); cgraph_flatten_node (node, cycles);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment