diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2017-07-29 01:39:36 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2017-07-29 01:39:36 +0000 |
commit | 2a1a5f3080f67d7a613adf836e3120d891705aae (patch) | |
tree | 674935f01015b22ea8dfcb4f2334a0adb32af567 /gcc/bitmap.c | |
parent | 3fe793df7c4952bde47b2811210b7e2c2cc0ff97 (diff) | |
download | gcc-2a1a5f3080f67d7a613adf836e3120d891705aae.zip gcc-2a1a5f3080f67d7a613adf836e3120d891705aae.tar.gz gcc-2a1a5f3080f67d7a613adf836e3120d891705aae.tar.bz2 |
use c++ for bitmap_initialize
gcc/ChangeLog:
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* bitmap.c (bitmap_alloc): Adjust.
(bitmap_gc_alloc): Likewise.
* bitmap.h (bitmap_initialize_stat): Remove _stat from name.
From-SVN: r250710
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r-- | gcc/bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c index be8d0cc..03f6923 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -284,7 +284,7 @@ bitmap_alloc (bitmap_obstack *bit_obstack MEM_STAT_DECL) bit_obstack->heads = (struct bitmap_head *) map->first; else map = XOBNEW (&bit_obstack->obstack, bitmap_head); - bitmap_initialize_stat (map, bit_obstack PASS_MEM_STAT); + bitmap_initialize (map, bit_obstack PASS_MEM_STAT); if (GATHER_STATISTICS) register_overhead (map, sizeof (bitmap_head)); @@ -300,7 +300,7 @@ bitmap_gc_alloc (ALONE_MEM_STAT_DECL) bitmap map; map = ggc_alloc<bitmap_head> (); - bitmap_initialize_stat (map, NULL PASS_MEM_STAT); + bitmap_initialize (map, NULL PASS_MEM_STAT); if (GATHER_STATISTICS) register_overhead (map, sizeof (bitmap_head)); |