aboutsummaryrefslogtreecommitdiff
path: root/gcc/mem-stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mem-stats.h')
-rw-r--r--gcc/mem-stats.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/mem-stats.h b/gcc/mem-stats.h
index a9580ab..a6489b5 100644
--- a/gcc/mem-stats.h
+++ b/gcc/mem-stats.h
@@ -260,10 +260,9 @@ public:
&& l1->m_line == l2->m_line;
}
};
- typedef simple_hashmap_traits<mem_location_hash> mem_alloc_hashmap_traits;
/* Internal class type definitions. */
- typedef hash_map <mem_location *, T *, mem_alloc_hashmap_traits> mem_map_t;
+ typedef hash_map <mem_location_hash, T *> mem_map_t;
typedef hash_map <const void *, mem_usage_pair<T> > reverse_mem_map_t;
typedef hash_map <const void *, std::pair<T *, size_t> > reverse_object_map_t;
typedef std::pair <mem_location *, T *> mem_list_t;