Remove first_pass_instance from pass_dominator
authorTom de Vries <tom@codesourcery.com>
Mon, 16 Nov 2015 12:40:24 +0000 (12:40 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 16 Nov 2015 12:40:24 +0000 (12:40 +0000)
commit5ce8d99a1b45692a14b4a8aaf5b481738bf95172
treefa576c46796bf106c419ef642f60d7c8277203e6
parent2162bfe15e549b125b8183fc5f3d6e1d05ef5c98
Remove first_pass_instance from pass_dominator

2015-11-16  Tom de Vries  <tom@codesourcery.com>

* passes.def: Add arg to pass_dominator pass instantiation.
* tree-pass.h (first_pass_instance): Remove pass_dominator-related bit
of comment.
* tree-ssa-dom.c (pass_dominator::pass_dominator): Initialize
may_peel_loop_headers_p.
(pass_dominator::set_pass_param): New member function.  Set
may_peel_loop_headers_p.
(pass_dominator::may_peel_loop_headers_p): New private member.
(pass_dominator::execute): Use may_peel_loop_headers_p instead of
first_pass_instance.

From-SVN: r230417
gcc/ChangeLog
gcc/passes.def
gcc/tree-pass.h
gcc/tree-ssa-dom.c