aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.h
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2017-07-29 01:39:36 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2017-07-29 01:39:36 +0000
commit2a1a5f3080f67d7a613adf836e3120d891705aae (patch)
tree674935f01015b22ea8dfcb4f2334a0adb32af567 /gcc/bitmap.h
parent3fe793df7c4952bde47b2811210b7e2c2cc0ff97 (diff)
downloadgcc-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.h')
-rw-r--r--gcc/bitmap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/bitmap.h b/gcc/bitmap.h
index ca04766..3480323 100644
--- a/gcc/bitmap.h
+++ b/gcc/bitmap.h
@@ -335,14 +335,13 @@ extern void dump_bitmap_statistics (void);
to allocate from, NULL for GC'd bitmap. */
static inline void
-bitmap_initialize_stat (bitmap head, bitmap_obstack *obstack MEM_STAT_DECL)
+bitmap_initialize (bitmap head, bitmap_obstack *obstack CXX_MEM_STAT_INFO)
{
head->first = head->current = NULL;
head->obstack = obstack;
if (GATHER_STATISTICS)
bitmap_register (head PASS_MEM_STAT);
}
-#define bitmap_initialize(h,o) bitmap_initialize_stat (h,o MEM_STAT_INFO)
/* Allocate and free bitmaps from obstack, malloc and gc'd memory. */
extern bitmap bitmap_alloc (bitmap_obstack *obstack CXX_MEM_STAT_INFO);