Remove first_pass_instance from pass_object_sizes
authorTom de Vries <tom@codesourcery.com>
Mon, 16 Nov 2015 12:40:33 +0000 (12:40 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 16 Nov 2015 12:40:33 +0000 (12:40 +0000)
commit813ccd83aef21bfaee56ea3d84ce5bf6c60984f7
tree8d1489cda293630115ee052c09cefde6686b0e24
parent5ce8d99a1b45692a14b4a8aaf5b481738bf95172
Remove first_pass_instance from pass_object_sizes

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

* passes.def: Add arg to pass_object_sizes pass instantiation.
* tree-object-size.c (pass_object_sizes::pass_object_sizes): Initialize
insert_min_max_p.
(pass_object_sizes::set_pass_param): New member function.  Set
insert_min_max_p.
(pass_object_sizes::insert_min_max_p): New private member.
(pass_object_sizes::execute): Use insert_min_max_p instead of
first_pass_instance.

From-SVN: r230418
gcc/ChangeLog
gcc/passes.def
gcc/tree-object-size.c