fold-const.c (fold_unary, [...]): Update comments about arguments.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 22 Mar 2005 06:01:05 +0000 (06:01 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 22 Mar 2005 06:01:05 +0000 (06:01 +0000)
* fold-const.c (fold_unary, fold_binary): Update comments
about arguments.

From-SVN: r96855

gcc/ChangeLog
gcc/fold-const.c

index 0bc1367cf34c9b4775afe5781d05976f8ba2f14c..a308f2151ec234839652226fb35d195dee0c4c0d 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (fold_unary, fold_binary): Update comments
+       about arguments.
+
 2005-03-22  Hans-Peter Nilsson  <hp@axis.com>
 
        PR rtl-optimization/20527
index 2c4404b7676d1fe023f3b4669bcd3bfa88b6e7a9..2342400867fa1b3538db38c0c76553a20b537bd6 100644 (file)
@@ -6620,9 +6620,9 @@ fold_complex_div (tree type, tree ac, tree bc, enum tree_code code)
   return fold_complex_div_parts (type, ar, ai, br, bi, code);
 }
 
-/* Fold a unary expression EXPR.  Return the folded expression if
-   folding is successful.  Otherwise, return the original
-   expression.  */
+/* Fold a unary expression of code CODE and type TYPE with operand
+   OP0.  Return the folded expression if folding is successful.
+   Otherwise, return NULL_TREE.  */
 
 static tree
 fold_unary (enum tree_code code, tree type, tree op0)
@@ -7033,9 +7033,9 @@ fold_unary (enum tree_code code, tree type, tree op0)
     } /* switch (code) */
 }
 
-/* Fold a binary expression EXPR.  Return the folded expression if
-   folding is successful.  Otherwise, return the original
-   expression.  */
+/* Fold a binary expression of code CODE and type TYPE with operands
+   OP0 and OP1.  Return the folded expression if folding is
+   successful.  Otherwise, return NULL_TREE.  */
 
 static tree
 fold_binary (enum tree_code code, tree type, tree op0, tree op1)