From: spop Date: Wed, 14 Dec 2005 14:20:55 +0000 (+0000) Subject: * tree-ssa-operands.c (build_ssa_operands): Update leading comment. X-Git-Tag: upstream/4.9.2~57026 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bdb5515445b2e0fe2afb5a12a5b112d3df7b5a6;p=platform%2Fupstream%2Flinaro-gcc.git * tree-ssa-operands.c (build_ssa_operands): Update leading comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108512 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e65635..e49e19f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-12-14 Sebastian Pop + + * tree-ssa-operands.c (build_ssa_operands): Update leading comment. + 2005-12-14 J"orn Rennecke * struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 72c2d71..c75f30c 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -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)