diff options
author | Richard Biener <rguenther@suse.de> | 2014-08-15 07:51:35 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-08-15 07:51:35 +0000 |
commit | 4b5337e60efa264137d1a65e12c612cb50e98b42 (patch) | |
tree | 20b43de3f2a32065f638708f880e84e66d33080b /gcc/data-streamer.h | |
parent | 6e2028ff0f24561125d465b3c8d6acc88d4d82dc (diff) | |
download | gcc-4b5337e60efa264137d1a65e12c612cb50e98b42.zip gcc-4b5337e60efa264137d1a65e12c612cb50e98b42.tar.gz gcc-4b5337e60efa264137d1a65e12c612cb50e98b42.tar.bz2 |
data-streamer.h (streamer_string_index, [...]): Remove.
2014-08-15 Richard Biener <rguenther@suse.de>
* data-streamer.h (streamer_string_index, string_for_index):
Remove.
* data-streamer-out.c (streamer_string_index): Make static.
* data-streamer-in.c (string_for_index): Likewise.
* lto-streamer-out.c (lto_output_location): Use bp_pack_string.
* lto-streamer-in.c (lto_input_location): Use bp_unpack_string.
From-SVN: r214007
Diffstat (limited to 'gcc/data-streamer.h')
-rw-r--r-- | gcc/data-streamer.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/data-streamer.h b/gcc/data-streamer.h index 56fedd2..eb3709a 100644 --- a/gcc/data-streamer.h +++ b/gcc/data-streamer.h @@ -57,8 +57,6 @@ void streamer_write_hwi (struct output_block *, HOST_WIDE_INT); void streamer_write_gcov_count (struct output_block *, gcov_type); void streamer_write_string (struct output_block *, struct lto_output_stream *, const char *, bool); -unsigned streamer_string_index (struct output_block *, const char *, - unsigned int, bool); void streamer_write_string_with_length (struct output_block *, struct lto_output_stream *, const char *, unsigned int, bool); @@ -74,7 +72,6 @@ void streamer_write_data_stream (struct lto_output_stream *, const void *, size_t); /* In data-streamer-in.c */ -const char *string_for_index (struct data_in *, unsigned int, unsigned int *); const char *streamer_read_string (struct data_in *, struct lto_input_block *); const char *streamer_read_indexed_string (struct data_in *, struct lto_input_block *, |