tree-ssa-dom.c (block_defs_stack): Remove, no longer needed.
authorJeff Law <law@redhat.com>
Sat, 23 Apr 2005 00:47:12 +0000 (18:47 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 23 Apr 2005 00:47:12 +0000 (18:47 -0600)
commit74d2efc74c9a5e8ee49777a97ea02c1dcdc0fb17
treed704ef62de9cdd8dadf634c28ac937831d0aa4e8
parentca075703f52bf7185e6f1016370743a29c11b9a6
tree-ssa-dom.c (block_defs_stack): Remove, no longer needed.

* tree-ssa-dom.c (block_defs_stack): Remove, no longer needed.
(restore_currdefs_to_original_value): Likewise.
(register_definitions_for_stmt): Likewise.
(tree_ssa_dominator_optimize): No longer initialize CURRENT_DEF
for each variable.  Do not allocate/free block_defs_stack either.
Do not iterate if we just thread jumps.  Only iterate if the
tree_cleanup_cfg does useful work (temporary).
(dom_opt_initialize_block): No longer push a marker on
BLOCK_DEFS_STACK.
(dom_opt_finalize_block): Removal call to restore currdefs.
Relax restrictions for recording edge equivalences.
(record_equivalences_from_phis): No longer need to track
CURRENT_DEF.
(optimize_stmt): Similarly.
(thread_across_edge): Simplify by removing the requirement that
statements in the block we are threading through must be nops.
(initialize_hash_element): Handle GOTO_EXPR.

From-SVN: r98597
gcc/ChangeLog
gcc/tree-ssa-dom.c