diff options
author | Jeff Law <law@redhat.com> | 2015-09-11 15:32:38 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-09-11 15:32:38 -0600 |
commit | f2a4ca153cf04399eecdfb8229d63dda5754df95 (patch) | |
tree | d8af52df36b4b2862fdcabe01a633ddf05f1a06f /gcc/tree-ssa-dom.c | |
parent | cf16e6efb00d9a5bc8a1a314779cc54df3367700 (diff) | |
download | gcc-f2a4ca153cf04399eecdfb8229d63dda5754df95.zip gcc-f2a4ca153cf04399eecdfb8229d63dda5754df95.tar.gz gcc-f2a4ca153cf04399eecdfb8229d63dda5754df95.tar.bz2 |
[PATCH] Another small cleanup to the const_and_copies stack
2015-09-11 Jeff Law <law@redhat.com>
PR tree-optimization/47679
* tree-ssa-dom.c (struct cond_equivalence): Update comment.
* tree-ssa-scopedtables.h (class const_and_copies): Prefix data
member with m_. Update inline member functions as necessary. Add
toplevel comment.
* tree-ssa-scopedtables.c: Update const_and_copies's member
functions to use m_ prefix to access the stack.
From-SVN: r227697
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index f0b19ff..e3eb0db 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -92,8 +92,7 @@ struct cond_equivalence }; -/* Structure for recording edge equivalences as well as any pending - edge redirections during the dominator optimizer. +/* Structure for recording edge equivalences. Computing and storing the edge equivalences instead of creating them on-demand can save significant amounts of time, particularly @@ -101,10 +100,7 @@ struct cond_equivalence These structures live for a single iteration of the dominator optimizer in the edge's AUX field. At the end of an iteration we - free each of these structures and update the AUX field to point - to any requested redirection target (the code for updating the - CFG and SSA graph for edge redirection expects redirection edge - targets to be in the AUX field for each edge. */ + free each of these structures. */ struct edge_info { |