diff options
author | Jeff Law <law@redhat.com> | 2015-09-04 09:15:59 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-09-04 09:15:59 -0600 |
commit | a12cbc5775e85403cd8ed244c8f45b506afd294b (patch) | |
tree | 118616fb2c9da24c0c8d264650464a0fdf898a55 /gcc/tree-ssa-dom.c | |
parent | 0417fe49d6be14bb9ebf25b08f67d6a936958d25 (diff) | |
download | gcc-a12cbc5775e85403cd8ed244c8f45b506afd294b.zip gcc-a12cbc5775e85403cd8ed244c8f45b506afd294b.tar.gz gcc-a12cbc5775e85403cd8ed244c8f45b506afd294b.tar.bz2 |
[PATCH] Minor cleanup of const_and_copies stack
* tree-ssa-scopedtables.c (const_and_copies::const_and_copies): Remove
unnecessary constructor. It's now trivial and implemented inside...
* tree-ssa-scopedtables.h (const_and_copies): Implement trivial
constructor. Add comments to various methods. Remove unused
private fields.
* tree-ssa-dom.c (pass_dominator::execute): Corresponding changes.
* tree-vrp.c (identify_jump_threads): Likewise.
* tree-ssa-threadedge.c (thread_through_normal_block): Fix minor
indentation issues.
(thread_across_edge): Similarly.
(record_temporary_equivalences_from_stmts_at_dest): Remove unused
arguments in constructor call.
From-SVN: r227493
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index a26ae55..f0b19ff 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -1168,7 +1168,7 @@ pass_dominator::execute (function *fun) /* Create our hash tables. */ avail_exprs = new hash_table<expr_elt_hasher> (1024); avail_exprs_stack.create (20); - const_and_copies = new class const_and_copies (dump_file, dump_flags); + const_and_copies = new class const_and_copies (); need_eh_cleanup = BITMAP_ALLOC (NULL); need_noreturn_fixup.create (0); |