[PATCH] avail_exprs is no longer file scoped
authorJeff Law <law@redhat.com>
Fri, 18 Sep 2015 19:12:22 +0000 (13:12 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 18 Sep 2015 19:12:22 +0000 (13:12 -0600)
commit1b2fe7d3f73ccec0ab13a1b9fa68356dab52d9d4
treeef3a3f2d651a8a3df1740bb1002c0178bde1c455
parent5877e54ea0ab4f38f9046a12633de4fa6671e925
[PATCH] avail_exprs is no longer file scoped

* tree-ssa-dom.c (avail_exprs): No longer file scoped.  Bury
it into the avail_exprs_stack class.
(pass_dominator::execute): Corresponding changes to declaration
and initialization of avail_exprs.  Pass avail_exprs to
dump_dominator_optimization_stats.
(record_cond): Extract avail_exprs from avail_exprs_stack.
(lookup_avail_expr): Similarly.
(htab_staticstics): Remove unnecessary prototype.  Move to earlier
position in file.
(dump_dominator_optimization_stats): Make static and prototype.
Add argument for the hash table to dump.
(debug_dominator_optimization_stats): Remove.
* tree-ssa-dom.h (dump_dominator_optimization_stats): Remove
prototype.
(debug_dominator_optimization_stats): Similarly.
* tree-ssa-scopedtables.h (class avail_exprs_stack): Add missing
"void" in prototype for pop_to_marker method.  Add accessor method
for the underlying avail_exprs table.

* tree-ssa-threadedge.c: Remove trailing whitespace.

From-SVN: r227921
gcc/ChangeLog
gcc/tree-ssa-dom.c
gcc/tree-ssa-dom.h
gcc/tree-ssa-scopedtables.h
gcc/tree-ssa-threadedge.c