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-scopedtables.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-scopedtables.c')
-rw-r--r-- | gcc/tree-ssa-scopedtables.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree-ssa-scopedtables.c b/gcc/tree-ssa-scopedtables.c index 41bf887..1fea69a 100644 --- a/gcc/tree-ssa-scopedtables.c +++ b/gcc/tree-ssa-scopedtables.c @@ -28,13 +28,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa-scopedtables.h" #include "tree-ssa-threadedge.h" -const_and_copies::const_and_copies (FILE *file, int flags) -{ - stack.create (20); - dump_file = file; - dump_flags = flags; -} - /* Pop entries off the stack until we hit the NULL marker. For each entry popped, use the SRC/DEST pair to restore SRC to its prior value. */ |