aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-dfa.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-05-24 11:20:29 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2009-05-24 11:20:29 +0000
commitcff4e50d676b4dbe41b12b64af327b34e7ba4c91 (patch)
treee667e14ddbee5b77f8770a36656ac880ea9a62e1 /gcc/tree-dfa.c
parent6e00e546439393178102e01e66431fa32d2205bd (diff)
downloadgcc-cff4e50d676b4dbe41b12b64af327b34e7ba4c91.zip
gcc-cff4e50d676b4dbe41b12b64af327b34e7ba4c91.tar.gz
gcc-cff4e50d676b4dbe41b12b64af327b34e7ba4c91.tar.bz2
tree-ssa-operands.h (push_stmt_changes, [...]): Delete.
2009-05-24 Paolo Bonzini <bonzini@gnu.org> * tree-ssa-operands.h (push_stmt_changes, pop_stmt_changes, discard_stmt_changes): Delete. * tree-ssa-operands.c (scb_stack): Delete. (init_ssa_operands): Do not initialize it. (fini_ssa_operands): Do not free it. (push_stmt_changes, pop_stmt_changes, discard_stmt_changes): Delete. * tree-cfg.c (replace_uses_by): Replace pop_stmt_changes with update_stmt, remove the others. Fix comments. * tree-dfa.c (optimize_stack_restore): Likewise. * tree-ssa-forwprop.c (forward_propagate_addr_expr): Likewise. * tree-ssa-loop-ivopts.c (rewrite_use): Likewise. * tree-ssa-dce.c (eliminate_unnecessary_stmts): Likewise. * tree-ssa-ccp.c (optimize_stack_restore, execute_fold_all_builtins): Likewise. * tree-ssa-propagate.c (substitute_and_fold): Likewise. * tree-ssa-dom.c (propagate_rhs_into_lhs): Likewise. (dom_opt_finalize_block): Likewise, adjusting access to stmts_to_rescan. (optimize_stmt): Likewise, adjusting access to stmts_to_rescan. (stmts_to_rescan): Change item type to gimple. (tree_ssa_dominator_optimize): Change type of stmts_to_rescan. From-SVN: r147831
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r--gcc/tree-dfa.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c
index d00324a..d4a379c 100644
--- a/gcc/tree-dfa.c
+++ b/gcc/tree-dfa.c
@@ -651,11 +651,7 @@ get_virtual_var (tree var)
return var;
}
-/* Mark all the naked symbols in STMT for SSA renaming.
-
- NOTE: This function should only be used for brand new statements.
- If the caller is modifying an existing statement, it should use the
- combination push_stmt_changes/pop_stmt_changes. */
+/* Mark all the naked symbols in STMT for SSA renaming. */
void
mark_symbols_for_renaming (gimple stmt)