diff options
author | Richard Biener <rguenther@suse.de> | 2014-07-31 07:51:41 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-07-31 07:51:41 +0000 |
commit | bfa2ebe3d7f83bf8d38b99e4015510505ef164ea (patch) | |
tree | ff37ca736ada5ffa9cbb047d08ff03f4d6d72c52 /gcc/lto-cgraph.c | |
parent | c5fbeafd47074bda9de09f2fe0e74f45c554f505 (diff) |
data-streamer.h (streamer_write_data_stream): Declare here, renamed from ...
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.
From-SVN: r213317
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); |