* tree-ssa-dom.c (avail_exprs_stack): New global varray.
commit9c629f0e229b71091e1649ab558461cfa8cd2b47
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Sep 2004 04:38:04 +0000 (15 04:38 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Sep 2004 04:38:04 +0000 (15 04:38 +0000)
treed41c1426ceec349a5a90d87f18951c39d426d0b4
parent4e4a0d35e1f59639aee93b6a26e9bd8ea4dca2be
    * tree-ssa-dom.c (avail_exprs_stack): New global varray.
        (struct dom_walk_block_data): Remove avail_exprs member.
        (tree_ssa_dominator_optimize): Initialize avail_exprs_stack.
        (lookup_avail_expr): No longer need to pass in address of
        the block local available exprs stack.  All callers changed.
        (simplify_cond_and_lookup_avail_expr): Similarly.
        (simplify_switch_and_lookup_avail_expr): Similarly.
        (get_eq_expr_value, record_cond): Likewise.
        (record_dominating_conditions): Likewise.
        (update_rhs_and_lookup_avail_expr): Likewise.
        (record_equivalences_from_stmt): Likewise.
        (dom_opt_initialize_block_local_data): No longer test state of
        block local avail_exprs.
        (dom_opt_initialize_block): Mark unwind point in the global
        avail_expr stack.
        (remove_expressions_from_table): Update to unwind to the
        most recent unwind marker in the global avail_expr stack.
        All callers changed.
        (dom_opt_finalize_block): Mark unwind point in the global
        avail_expr stack as needed.
        (record_cond): Push elements into the global avail_exprs stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87532 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-dom.c