diff options
author | Jeff Law <law@redhat.com> | 2004-09-14 22:38:04 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2004-09-14 22:38:04 -0600 |
commit | 48732f23bb0cee40c31ab50762fa8c82a923581f (patch) | |
tree | d41c1426ceec349a5a90d87f18951c39d426d0b4 /gcc/expr.c | |
parent | a5c965c17ef36c215673c1b3bc01eff0780b3fcc (diff) | |
download | gcc-48732f23bb0cee40c31ab50762fa8c82a923581f.zip gcc-48732f23bb0cee40c31ab50762fa8c82a923581f.tar.gz gcc-48732f23bb0cee40c31ab50762fa8c82a923581f.tar.bz2 |
tree-ssa-dom.c (avail_exprs_stack): New global varray.
* 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.
From-SVN: r87532
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions