diff mbox series

Finish removing class move_computations_dom_walker

Message ID 1516650644-14942-1-git-send-email-dmalcolm@redhat.com
State New
Headers show
Series Finish removing class move_computations_dom_walker | expand

Commit Message

David Malcolm Jan. 22, 2018, 7:50 p.m. UTC
r232820 (aka 2c7b2f8860794cc9b9cf5eeea9d7dc109c0de3be) removed the
implementation of class move_computations_dom_walker, but kept the decl.

This patch removes the stray decl.

Successfully bootstrapped&regrtested on x86_64-pc-linux-gnu.
OK for trunk?

gcc/ChangeLog:
	PR tree-optimization/69452
	* tree-ssa-loop-im.c (class move_computations_dom_walker): Remove decl.
---
 gcc/tree-ssa-loop-im.c | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Richard Biener Jan. 22, 2018, 8:37 p.m. UTC | #1
On January 22, 2018 8:50:44 PM GMT+01:00, David Malcolm <dmalcolm@redhat.com> wrote:
>r232820 (aka 2c7b2f8860794cc9b9cf5eeea9d7dc109c0de3be) removed the
>implementation of class move_computations_dom_walker, but kept the
>decl.
>
>This patch removes the stray decl.
>
>Successfully bootstrapped&regrtested on x86_64-pc-linux-gnu.
>OK for trunk?

OK. 

Richard. 

>gcc/ChangeLog:
>	PR tree-optimization/69452
>	* tree-ssa-loop-im.c (class move_computations_dom_walker): Remove
>decl.
>---
> gcc/tree-ssa-loop-im.c | 11 -----------
> 1 file changed, 11 deletions(-)
>
>diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c
>index 7864fbd..4655766 100644
>--- a/gcc/tree-ssa-loop-im.c
>+++ b/gcc/tree-ssa-loop-im.c
>@@ -1081,17 +1081,6 @@ invariantness_dom_walker::before_dom_children
>(basic_block bb)
>   return NULL;
> }
> 
>-class move_computations_dom_walker : public dom_walker
>-{
>-public:
>-  move_computations_dom_walker (cdi_direction direction)
>-    : dom_walker (direction), todo_ (0) {}
>-
>-  virtual edge before_dom_children (basic_block);
>-
>-  unsigned int todo_;
>-};
>-
>/* Hoist the statements in basic block BB out of the loops prescribed
>by
>data stored in LIM_DATA structures associated with each statement. 
>Callback
>    for walk_dominator_tree.  */
diff mbox series

Patch

diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c
index 7864fbd..4655766 100644
--- a/gcc/tree-ssa-loop-im.c
+++ b/gcc/tree-ssa-loop-im.c
@@ -1081,17 +1081,6 @@  invariantness_dom_walker::before_dom_children (basic_block bb)
   return NULL;
 }
 
-class move_computations_dom_walker : public dom_walker
-{
-public:
-  move_computations_dom_walker (cdi_direction direction)
-    : dom_walker (direction), todo_ (0) {}
-
-  virtual edge before_dom_children (basic_block);
-
-  unsigned int todo_;
-};
-
 /* Hoist the statements in basic block BB out of the loops prescribed by
    data stored in LIM_DATA structures associated with each statement.  Callback
    for walk_dominator_tree.  */