diff options
Diffstat (limited to 'gcc/hash-map.h')
-rw-r--r-- | gcc/hash-map.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/hash-map.h b/gcc/hash-map.h index 81ede08e7c7..510353bf4f7 100644 --- a/gcc/hash-map.h +++ b/gcc/hash-map.h @@ -111,6 +111,11 @@ public: CXX_MEM_STAT_INFO) : m_table (n, ggc, gather_mem_stats, HASH_MAP_ORIGIN PASS_MEM_STAT) {} + hash_map (const hash_map &h, bool ggc = false, + bool gather_mem_stats = GATHER_STATISTICS CXX_MEM_STAT_INFO) + : m_table (h.m_table, ggc, gather_mem_stats, + HASH_MAP_ORIGIN PASS_MEM_STAT) {} + /* Create a hash_map in ggc memory. */ static hash_map *create_ggc (size_t size, bool gather_mem_stats = GATHER_STATISTICS |