diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-11-07 17:06:04 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-11-07 17:06:04 +0000 |
commit | c38ee9a2e87ea6d23580c364b3997acfce4a125c (patch) | |
tree | 4e7df7e181a2561c419bfaf86691f41d43e95adc /gcc/tree.c | |
parent | 095f78c62157124ad479a3f98b6995ced090b807 (diff) | |
download | gcc-c38ee9a2e87ea6d23580c364b3997acfce4a125c.zip gcc-c38ee9a2e87ea6d23580c364b3997acfce4a125c.tar.gz gcc-c38ee9a2e87ea6d23580c364b3997acfce4a125c.tar.bz2 |
lto-streamer-in.c: Include alloc-pool.h.
* lto-streamer-in.c: Include alloc-pool.h.
(freeing_string_slot_hasher): Remove.
(string_slot_allocator): New object allocator.
(file_name_hash_table): Turn to hash_table<string_slot_hasher>.
(file_name_obstack): New obstack.
(canon_file_name): Allocate in obstack and allocator.
(lto_reader_init): Initialize obstack and allocator.
(lto_free_file_name_hash): New function.
* lto-streamer.h (lto_free_file_name_hash): New.
* lto.c (do_whole_program_analysis): Call lto_free_file_name_hash.
From-SVN: r277924
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions