aboutsummaryrefslogtreecommitdiff
path: root/gcc/pass_manager.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2013-11-18 22:16:37 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2013-11-18 22:16:37 +0000
commit38f4f02fd6a83607aada3b3270469143bd9ffc7a (patch)
tree99d9aea67e80ae40bd6bfd83c82954aa16dccb28 /gcc/pass_manager.h
parent867c8b03ffc45fee45b414d511ccf125ca5a8c4c (diff)
downloadgcc-38f4f02fd6a83607aada3b3270469143bd9ffc7a.zip
gcc-38f4f02fd6a83607aada3b3270469143bd9ffc7a.tar.gz
gcc-38f4f02fd6a83607aada3b3270469143bd9ffc7a.tar.bz2
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
Diffstat (limited to 'gcc/pass_manager.h')
-rw-r--r--gcc/pass_manager.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/pass_manager.h b/gcc/pass_manager.h
index 77d78eb..9a71e9c 100644
--- a/gcc/pass_manager.h
+++ b/gcc/pass_manager.h
@@ -29,7 +29,6 @@ struct register_pass_info;
DEF_PASS_LIST (all_lowering_passes) \
DEF_PASS_LIST (all_small_ipa_passes) \
DEF_PASS_LIST (all_regular_ipa_passes) \
- DEF_PASS_LIST (all_lto_gen_passes) \
DEF_PASS_LIST (all_passes)
#define DEF_PASS_LIST(LIST) PASS_LIST_NO_##LIST,
@@ -82,7 +81,6 @@ public:
opt_pass *all_small_ipa_passes;
opt_pass *all_lowering_passes;
opt_pass *all_regular_ipa_passes;
- opt_pass *all_lto_gen_passes;
opt_pass *all_late_ipa_passes;
/* A map from static pass id to optimization pass. */