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] tree-ssa-dom.c: Remove an obsolete comment.


Hi,

Attached is a patch to remove an obsolete comment.

What the comment is referring to is good old days when we didn't have
O(1) PHI argument lookup.

Committed as obvious.

Kazu Hirata

2005-03-31  Kazu Hirata  <kazu@cs.umass.edu>

	* tree-ssa-dom.c (cprop_into_successor_phis): Remove an
	obsolete comment.

Index: tree-ssa-dom.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-dom.c,v
retrieving revision 2.100
diff -u -d -p -r2.100 tree-ssa-dom.c
--- tree-ssa-dom.c	11 Mar 2005 09:05:08 -0000	2.100
+++ tree-ssa-dom.c	31 Mar 2005 20:45:25 -0000
@@ -2376,8 +2376,6 @@ cprop_into_successor_phis (basic_block b
   edge e;
   edge_iterator ei;
 
-  /* This can get rather expensive if the implementation is naive in
-     how it finds the phi alternative associated with a particular edge.  */
   FOR_EACH_EDGE (e, ei, bb->succs)
     {
       tree phi;


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