aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2004-11-25 21:18:55 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-11-25 21:18:55 +0000
commit9f8e747867f0b4824c02c7745491b8ef2110b814 (patch)
treec397daea9bbf7bc76c15c811734f6b7d0e25582c /gcc/bitmap.c
parente288e2f51bed5d45a8a89479bc2f98337bc18c80 (diff)
downloadgcc-9f8e747867f0b4824c02c7745491b8ef2110b814.zip
gcc-9f8e747867f0b4824c02c7745491b8ef2110b814.tar.gz
gcc-9f8e747867f0b4824c02c7745491b8ef2110b814.tar.bz2
bitmap.c (bitmap_malloc_alloc, [...]): Remove.
* 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. From-SVN: r91306
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 275e440..f633505 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. */