summaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-31 10:11:44 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-31 10:11:44 +0000
commit32010bb80a35fabd4d99c66cc796d1de3a3bf1e9 (patch)
tree889edf57fbec3f64a09d140098f9ff5114ffc90f /gcc/lto-streamer.h
parent1f6c912383404fa17f389e8a71552060d5a05fa8 (diff)
downloadgcc-32010bb80a35fabd4d99c66cc796d1de3a3bf1e9.tar.gz
2014-07-31 Richard Biener <rguenther@suse.de>
* lto-streamer.h (struct output_block): Remove global. (struct data_in): Remove labels, num_named_labels and num_unnamed_labels. * lto-streamer-in.c (lto_data_in_delete): Do not free labels. * lto-streamer-out.c (produce_asm_for_decls): Do not set global. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213340 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r--gcc/lto-streamer.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index 1d728f6aa09..eef86a88aa3 100644
--- a/gcc/lto-streamer.h
+++ b/gcc/lto-streamer.h
@@ -696,9 +696,6 @@ struct output_block
int current_line;
int current_col;
- /* True if writing globals and types. */
- bool global;
-
/* Cache of nodes written in this section. */
struct streamer_tree_cache_d *writer_cache;
@@ -714,22 +711,12 @@ struct data_in
/* The global decls and types. */
struct lto_file_decl_data *file_data;
- /* All of the labels. */
- tree *labels;
-
/* The string table. */
const char *strings;
/* The length of the string table. */
unsigned int strings_len;
- /* Number of named labels. Used to find the index of unnamed labels
- since they share space with the named labels. */
- unsigned int num_named_labels;
-
- /* Number of unnamed labels. */
- unsigned int num_unnamed_labels;
-
/* Maps each reference number to the resolution done by the linker. */
vec<ld_plugin_symbol_resolution_t> globals_resolution;