tree-ssa-operands.c (build_ssa_operands): Update leading comment.
authorSebastian Pop <pop@cri.ensmp.fr>
Wed, 14 Dec 2005 14:20:55 +0000 (15:20 +0100)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 14 Dec 2005 14:20:55 +0000 (14:20 +0000)
* tree-ssa-operands.c (build_ssa_operands): Update leading comment.

From-SVN: r108512

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 1e65635..e49e19f 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-14  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       * tree-ssa-operands.c (build_ssa_operands): Update leading comment.
+
 2005-12-14  J"orn Rennecke <joern.rennecke@st.com>
 
        * struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for
index 72c2d71..c75f30c 100644 (file)
@@ -791,27 +791,7 @@ parse_ssa_operands (tree stmt)
     }
 }
 
-/* Create an operands cache for STMT, returning it in NEW_OPS. OLD_OPS are the
-   original operands, and if ANN is non-null, appropriate stmt flags are set
-   in the stmt's annotation.  If ANN is NULL, this is not considered a "real"
-   stmt, and none of the operands will be entered into their respective
-   immediate uses tables.  This is to allow stmts to be processed when they
-   are not actually in the CFG.
-
-   Note that some fields in old_ops may change to NULL, although none of the
-   memory they originally pointed to will be destroyed.  It is appropriate
-   to call free_stmt_operands() on the value returned in old_ops.
-
-   The rationale for this: Certain optimizations wish to examine the difference
-   between new_ops and old_ops after processing.  If a set of operands don't
-   change, new_ops will simply assume the pointer in old_ops, and the old_ops
-   pointer will be set to NULL, indicating no memory needs to be cleared.  
-   Usage might appear something like:
-
-       old_ops_copy = old_ops = stmt_ann(stmt)->operands;
-       build_ssa_operands (stmt, NULL, &old_ops, &new_ops);
-          <* compare old_ops_copy and new_ops *>
-       free_ssa_operands (old_ops);                                    */
+/* Create an operands cache for STMT.  */
 
 static void
 build_ssa_operands (tree stmt)