aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-11-25 21:18:55 +0000
committerNathan Sidwell <nathan@codesourcery.com>2004-11-25 21:18:55 +0000
commitb54c7ea3a5f011ca3d3f65306025ba83e405a526 (patch)
treec397daea9bbf7bc76c15c811734f6b7d0e25582c /gcc/bitmap.c
parentda37caeca04e17ec908793548e742485bfa5bb88 (diff)
* bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
* bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove. (BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC. (BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91306 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r--gcc/bitmap.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index 275e440d6c3..f633505eeba 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -222,20 +222,6 @@ bitmap_gc_alloc (void)
return map;
}
-/* Create a new malloced bitmap. Elements will be allocated from the
- default bitmap obstack. */
-
-bitmap
-bitmap_malloc_alloc (void)
-{
- bitmap map;
-
- map = xmalloc (sizeof (bitmap_head));
- bitmap_initialize (map, &bitmap_default_obstack);
-
- return map;
-}
-
/* Release an obstack allocated bitmap. */
void
@@ -249,15 +235,6 @@ bitmap_obstack_free (bitmap map)
}
}
-/* Release a malloc allocated bitmap. */
-
-void
-bitmap_malloc_free (bitmap map)
-{
- bitmap_clear (map);
- free (map);
-}
-
/* Return nonzero if all bits in an element are zero. */