OSDN Git Service

Fix comments.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Apr 2010 06:33:55 +0000 (06:33 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:17:11 +0000 (14:17 +0900)
2010-04-07  Sebastian Pop  <sebastian.pop@amd.com>

* tree-if-conv.c: Fix indentation and comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158041 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-if-conv.c

index 51f32e8..fac4680 100644 (file)
@@ -1,5 +1,9 @@
 2010-04-07  Sebastian Pop  <sebastian.pop@amd.com>
 
+       * tree-if-conv.c: Fix indentation and comments.
+
+2010-04-07  Sebastian Pop  <sebastian.pop@amd.com>
+
        * tree-if-conv.c: Sort static functions in topological order.
 
 2010-04-07  Sebastian Pop  <sebastian.pop@amd.com>
index efbe509..2524245 100644 (file)
@@ -130,7 +130,7 @@ ifc_temp_var (tree type, tree exp)
   return stmt;
 }
 
-/* Add condition COND into predicate list of basic block BB.  */
+/* Add condition NEW_COND into predicate list of basic block BB.  */
 
 static void
 add_to_predicate_list (basic_block bb, tree new_cond)
@@ -139,16 +139,18 @@ add_to_predicate_list (basic_block bb, tree new_cond)
 
   if (cond)
     cond = fold_build2_loc (EXPR_LOCATION (cond),
-                       TRUTH_OR_EXPR, boolean_type_node,
-                       unshare_expr (cond), new_cond);
+                           TRUTH_OR_EXPR, boolean_type_node,
+                           unshare_expr (cond), new_cond);
   else
     cond = new_cond;
 
   bb->aux = cond;
 }
 
-/* Add condition COND into BB's predicate list.  PREV_COND is
-   existing condition.  */
+/* And condition COND to the previous condition PREV_COND and add this
+   to the predicate list of the destination of edge E.  GSI is the
+   place where the gimplification of the resulting condition should
+   output code.  LOOP is the loop to be if-converted.  */
 
 static tree
 add_to_dst_predicate_list (struct loop *loop, edge e,