diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-31 07:51:41 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-31 07:51:41 +0000 |
commit | a797f9eed54019df2013a700b332247962f65f66 (patch) | |
tree | ff37ca736ada5ffa9cbb047d08ff03f4d6d72c52 /gcc/lto-cgraph.c | |
parent | e3f3803dbd29c68d3a2b62cfbefeae271a693a80 (diff) | |
download | gcc-a797f9eed54019df2013a700b332247962f65f66.tar.gz |
2014-07-31 Richard Biener <rguenther@suse.de>
* data-streamer.h (streamer_write_data_stream): Declare here,
renamed from ...
* lto-streamer.h (lto_output_data_stream): ... this. Remove.
* lto-cgraph.c (lto_output_node): Adjust.
(lto_output_varpool_node): Likewise.
* data-streamer-out.c (streamer_string_index): Likewise.
(streamer_write_data_stream, lto_append_block): Move from ...
* lto-section-out.c (lto_output_data_stream,
lto_append_block): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213317 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r-- | gcc/lto-cgraph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index b1fcf67a025..ab694a58335 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -488,7 +488,7 @@ lto_output_node (struct lto_simple_output_block *ob, struct cgraph_node *node, comdat = IDENTIFIER_POINTER (group); else comdat = ""; - lto_output_data_stream (ob->main_stream, comdat, strlen (comdat) + 1); + streamer_write_data_stream (ob->main_stream, comdat, strlen (comdat) + 1); if (group) { @@ -546,7 +546,7 @@ lto_output_node (struct lto_simple_output_block *ob, struct cgraph_node *node, bp_pack_enum (&bp, ld_plugin_symbol_resolution, LDPR_NUM_KNOWN, node->resolution); streamer_write_bitpack (&bp); - lto_output_data_stream (ob->main_stream, section, strlen (section) + 1); + streamer_write_data_stream (ob->main_stream, section, strlen (section) + 1); if (node->thunk.thunk_p && !boundary_p) { @@ -622,7 +622,7 @@ lto_output_varpool_node (struct lto_simple_output_block *ob, varpool_node *node, comdat = IDENTIFIER_POINTER (group); else comdat = ""; - lto_output_data_stream (ob->main_stream, comdat, strlen (comdat) + 1); + streamer_write_data_stream (ob->main_stream, comdat, strlen (comdat) + 1); if (group) { @@ -640,7 +640,7 @@ lto_output_varpool_node (struct lto_simple_output_block *ob, varpool_node *node, section = node->get_section (); if (!section) section = ""; - lto_output_data_stream (ob->main_stream, section, strlen (section) + 1); + streamer_write_data_stream (ob->main_stream, section, strlen (section) + 1); streamer_write_enum (ob->main_stream, ld_plugin_symbol_resolution, LDPR_NUM_KNOWN, node->resolution); |