summaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
authoriverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-14 15:15:21 +0000
committeriverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-14 15:15:21 +0000
commit9d65fe51dc4c9e12c7ce6456201d06f79e316d78 (patch)
tree5582883ab2dcde11cf2737d6902cf9c574559f70 /gcc/lto-cgraph.c
parentd4cbe45aae70e38c12f3cd7430427c98289d7882 (diff)
downloadgcc-9d65fe51dc4c9e12c7ce6456201d06f79e316d78.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219605 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r--gcc/lto-cgraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 6c6501afc4a..91be53036f3 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -842,11 +842,11 @@ create_references (lto_symtab_encoder_t encoder, symtab_node *node)
/* Select what needs to be streamed out. In regular lto mode stream everything.
In offload lto mode stream only nodes marked as offloadable. */
void
-select_what_to_stream (bool offload_lto_mode)
+select_what_to_stream (void)
{
struct symtab_node *snode;
FOR_EACH_SYMBOL (snode)
- snode->need_lto_streaming = !offload_lto_mode || snode->offloadable;
+ snode->need_lto_streaming = !lto_stream_offload_p || snode->offloadable;
}
/* Find all symbols we want to stream into given partition and insert them