summaryrefslogtreecommitdiff
path: root/gcc/hash-table.h
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-10 07:57:34 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-10 07:57:34 +0000
commita80feb6c5fce7e1949e5ef4c67abd5d255a00514 (patch)
tree2c5a813f6081fa75e5c459fbf46f682f864e756b /gcc/hash-table.h
parent95f1e0d1504347f280a4bcd1effbd9fd23871a01 (diff)
downloadgcc-a80feb6c5fce7e1949e5ef4c67abd5d255a00514.tar.gz
Fix BITMAP identifier clash.
PR bootstrap/66471 * mem-stats-traits.h (enum mem_alloc_origin): Add _ORIGIN suffix for all enum values in mem_alloc_origin. * alloc-pool.c (dump_alloc_pool_statistics): Use newly changed enum name. * alloc-pool.h (pool_allocator::pool_allocator): Likewise. * bitmap.c (bitmap_register): Likewise. (dump_bitmap_statistics): Likewise. * ggc-common.c (dump_ggc_loc_statistics): Likewise. (ggc_record_overhead): Likewise. * hash-map.h: Likewise. * hash-set.h: Likewise. * hash-table.c (void dump_hash_table_loc_statistics): Likewise. * hash-table.h: Likewise. * vec.c (vec_prefix::register_overhead): Likewise. (vec_prefix::release_overhead): Likewise. (dump_vec_loc_statistics): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224315 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hash-table.h')
-rw-r--r--gcc/hash-table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/hash-table.h b/gcc/hash-table.h
index 512f162163e..1b9322d2c54 100644
--- a/gcc/hash-table.h
+++ b/gcc/hash-table.h
@@ -590,7 +590,7 @@ class hash_table
public:
explicit hash_table (size_t, bool ggc = false, bool gather_mem_stats = true,
- mem_alloc_origin origin = HASH_TABLE
+ mem_alloc_origin origin = HASH_TABLE_ORIGIN
CXX_MEM_STAT_INFO);
~hash_table ();
@@ -600,7 +600,7 @@ public:
create_ggc (size_t n CXX_MEM_STAT_INFO)
{
hash_table *table = ggc_alloc<hash_table> ();
- new (table) hash_table (n, true, true, HASH_TABLE PASS_MEM_STAT);
+ new (table) hash_table (n, true, true, HASH_TABLE_ORIGIN PASS_MEM_STAT);
return table;
}