Cleanup global decl stream reference streaming, part 2
authorJan Hubicka <jh@suse.cz>
Mon, 1 Jun 2020 17:13:58 +0000 (19:13 +0200)
committerJan Hubicka <jh@suse.cz>
Mon, 1 Jun 2020 17:13:58 +0000 (19:13 +0200)
commit1746d5f3e67703a5b6a3a4fd8ca625672c321313
tree2b7c8d15f9a4f9f337a6c2590329372375808e84
parent258059d91bd0e27cc335312f4558e1b339a2e77d
Cleanup global decl stream reference streaming, part 2

gcc/ChangeLog:

2020-06-01  Jan Hubicka  <hubicka@ucw.cz>

* lto-streamer.h (enum LTO_tags): Remove LTO_field_decl_ref,
LTO_function_decl_ref, LTO_label_decl_ref, LTO_namespace_decl_ref,
LTO_result_decl_ref, LTO_type_decl_ref, LTO_type_ref,
LTO_const_decl_ref, LTO_imported_decl_ref,
LTO_translation_unit_decl_ref, LTO_global_decl_ref and
LTO_namelist_decl_ref; add LTO_global_stream_ref.
* lto-streamer-in.c (lto_input_tree_ref): Simplify.
(lto_input_scc): Update.
(lto_input_tree_1): Update.
* lto-streamer-out.c (lto_indexable_tree_ref): Simlify.
* lto-streamer.c (lto_tag_name): Update.
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/lto-streamer.c
gcc/lto-streamer.h