aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorIlya Verbin <ilya.verbin@intel.com>2015-01-14 15:15:21 +0000
committerIlya Verbin <iverbin@gcc.gnu.org>2015-01-14 15:15:21 +0000
commit837bac8cb6e58e3665c736c338dfaf64330c1971 (patch)
tree5582883ab2dcde11cf2737d6902cf9c574559f70 /gcc/passes.c
parent2f6c116d289dd816f3d2594e6ce7bcf78684f0bc (diff)
downloadgcc-837bac8cb6e58e3665c736c338dfaf64330c1971.zip
gcc-837bac8cb6e58e3665c736c338dfaf64330c1971.tar.gz
gcc-837bac8cb6e58e3665c736c338dfaf64330c1971.tar.bz2
cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
gcc/ * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries. * lto-cgraph.c (select_what_to_stream): Remove argument, use lto_stream_offload_p instead. * lto-streamer.h (select_what_to_stream): Remove argument. * passes.c (ipa_write_summaries): Likewise. * tree-pass.h (ipa_write_summaries): Likewise. gcc/lto/ * lto-partition.c (lto_promote_cross_file_statics): Remove argument from select_what_to_stream. From-SVN: r219605
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 52dc067..e78a325 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -2464,7 +2464,7 @@ ipa_write_summaries_1 (lto_symtab_encoder_t encoder)
/* Write out summaries for all the nodes in the callgraph. */
void
-ipa_write_summaries (bool offload_lto_mode)
+ipa_write_summaries (void)
{
lto_symtab_encoder_t encoder;
int i, order_pos;
@@ -2475,7 +2475,7 @@ ipa_write_summaries (bool offload_lto_mode)
if ((!flag_generate_lto && !flag_generate_offload) || seen_error ())
return;
- select_what_to_stream (offload_lto_mode);
+ select_what_to_stream ();
encoder = lto_symtab_encoder_new (false);