From: David Malcolm Date: Mon, 22 Jan 2018 20:53:57 +0000 (+0000) Subject: Finish removing class move_computations_dom_walker X-Git-Tag: upstream/12.2.0~33881 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3774938ec6bd45fa4038613ff0a5d3cf56335a60;p=platform%2Fupstream%2Fgcc.git Finish removing class move_computations_dom_walker r232820 (aka 2c7b2f8860794cc9b9cf5eeea9d7dc109c0de3be) removed the implementation of class move_computations_dom_walker, but kept the decl. This patch removes the stray decl. gcc/ChangeLog: PR tree-optimization/69452 * tree-ssa-loop-im.c (class move_computations_dom_walker): Remove decl. From-SVN: r256963 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ba03d6..2570832 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-01-22 David Malcolm + + PR tree-optimization/69452 + * tree-ssa-loop-im.c (class move_computations_dom_walker): Remove + decl. + 2018-01-22 Sebastian Perta * config/rl78/rl78-expand.md: New define_expand "bswaphi2" 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. */