aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-05-02 16:44:04 +0000
committerJan Hubicka <jh@suse.cz>2011-05-02 16:44:04 +0000
commit4327e33a650a9e3e29cd9f114437345620745106 (patch)
tree7e48f380b12a761366bd63d9aaa630f22481114f /gcc/lto-streamer.h
parente490cdd2a67cd9b3e9ab7b321835c8e285ba6842 (diff)
* lto-streamer.c (lto_streamer_cache_insert_1,
lto_streamer_cache_lookup, lto_streamer_cache_create, lto_streamer_cache_delete): Use pointer map instead of hashtable. * lto-streamer.h (lto_streamer_cache_d): Turn node_map into pointer_map. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@173259 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r--gcc/lto-streamer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index 4fe8f513a33..3d87e18a825 100644
--- a/gcc/lto-streamer.h
+++ b/gcc/lto-streamer.h
@@ -346,10 +346,7 @@ typedef void (lto_free_section_data_f) (struct lto_file_decl_data *,
struct lto_streamer_cache_d
{
/* The mapping between tree nodes and slots into the nodes array. */
- htab_t node_map;
-
- /* Node map to store entries into. */
- alloc_pool node_map_entries;
+ struct pointer_map_t *node_map;
/* The nodes pickled so far. */
VEC(tree,heap) *nodes;