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.h | |
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.h')
-rw-r--r-- | gcc/bitmap.h | 3 |
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); |