Remove all_lto_gen_passes, replace with plain function calls
authorBernd Schmidt <bernds@codesourcery.com>
Mon, 18 Nov 2013 22:16:37 +0000 (22:16 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Mon, 18 Nov 2013 22:16:37 +0000 (22:16 +0000)
commit38f4f02fd6a83607aada3b3270469143bd9ffc7a
tree99d9aea67e80ae40bd6bfd83c82954aa16dccb28
parent867c8b03ffc45fee45b414d511ccf125ca5a8c4c
Remove all_lto_gen_passes, replace with plain function calls

* cgraphunit.c (ipa_passes): Don't execute all_lto_gen_passes.
* lto-streamer-out.c (lto_output, produce_asm_for_decls): No longer
static.
(pass_data_ipa_lto_gimple_out, pass_ipa_lto_gimple_out,
make_pass_ipa_lto_gimple_out, pass_data_ipa_lto_finish_out,
pass_ipa_lto_finish_out, make_pass_ipa_lto_finish_out): Remove.
* lto-streamer.h (lto_output, produce_asm_for_decls): Declare.
* pass-manager.h (GCC_PASS_LISTS, class pass_manager):
Remove all_lto_gen_passes.
* passes.c (pass_manager::dump_passes): Remove its use.
(pass_manager::register_pass): Likewise.
(ipa_read_summaries, ipa_read_optimization_summaries): Likewise.
(pass_manager::pass_manager): Don't initialize or use it.
(write_lto): New static function.
(ipa_write_summaries_1, ipa_write_optimization_summaries): Use it
instead of using all_lto_gen_passes.
* passes.def (all_lto_gen_passes, pass_ipa_lto_gimple_out,
pass_ipa_lto_finish_out): Delete.
* tree-pass.h (make_pass_ipa_lto_gimple_out,
make_pass_ipa_lto_finish_out): Don't declare.

From-SVN: r204984
gcc/ChangeLog
gcc/cgraphunit.c
gcc/lto-streamer-out.c
gcc/lto-streamer.h
gcc/pass_manager.h
gcc/passes.c
gcc/passes.def
gcc/tree-pass.h