This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][committed] Fix left-over "leafify"


This fixes two left-overs "leafify" in one comment and one dump message.

Applied as obvious to the 4.2 branch and the trunk.

Richard.

--
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs

2006-12-13  Richard Guenther  <rguenther@suse.de>

	* ipa-inline.c (cgraph_flatten_node): Replace leafify with
	flatten.
	(cgraph_decide_inlining): Likewise.

Index: ipa-inline.c
===================================================================
*** ipa-inline.c	(revision 119822)
--- ipa-inline.c	(working copy)
*************** cgraph_find_cycles (struct cgraph_node *
*** 536,542 ****
    node->aux = 0;
  }
  
! /* Leafify 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.  */
--- 536,542 ----
    node->aux = 0;
  }
  
! /* 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.  */
*************** cgraph_decide_inlining (void)
*** 961,967 ****
  	  htab_t cycles;
    	  if (dump_file)
      	    fprintf (dump_file,
! 	     	     "Leafifying %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);
--- 961,967 ----
  	  htab_t cycles;
    	  if (dump_file)
      	    fprintf (dump_file,
! 	     	     "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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]