diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2017-07-29 01:39:31 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2017-07-29 01:39:31 +0000 |
commit | 3fe793df7c4952bde47b2811210b7e2c2cc0ff97 (patch) | |
tree | ce4087bee2f7a4036894fef11f1f55c23a5d9a14 /gcc/bitmap.c | |
parent | 22a7303de24b120c7124d0b2a4ad778bd452319e (diff) | |
download | gcc-3fe793df7c4952bde47b2811210b7e2c2cc0ff97.zip gcc-3fe793df7c4952bde47b2811210b7e2c2cc0ff97.tar.gz gcc-3fe793df7c4952bde47b2811210b7e2c2cc0ff97.tar.bz2 |
simplify the bitmap alloc_stat functions with c++
gcc/fortran/ChangeLog:
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* resolve.c (find_reachable_labels): Adjust.
gcc/ChangeLog:
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* bitmap.c (bitmap_obstack_alloc_stat): Rename to bitmap_alloc.
(bitmap_gc_alloc_stat): Rename to bitmap_gc_alloc.
* bitmap.h (bitmap_obstack_alloc_stat): Adjust prototype.
(bitmap_gc_alloc_stat): Likewise.
(BITMAP_ALLOC, BITMAP_GGC_ALLOC): Adjust.
From-SVN: r250709
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 7bebeec..be8d0cc 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -273,7 +273,7 @@ bitmap_obstack_release (bitmap_obstack *bit_obstack) it on the default bitmap obstack. */ bitmap -bitmap_obstack_alloc_stat (bitmap_obstack *bit_obstack MEM_STAT_DECL) +bitmap_alloc (bitmap_obstack *bit_obstack MEM_STAT_DECL) { bitmap map; @@ -295,7 +295,7 @@ bitmap_obstack_alloc_stat (bitmap_obstack *bit_obstack MEM_STAT_DECL) /* Create a new GCd bitmap. */ bitmap -bitmap_gc_alloc_stat (ALONE_MEM_STAT_DECL) +bitmap_gc_alloc (ALONE_MEM_STAT_DECL) { bitmap map; |