diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 21:18:55 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 21:18:55 +0000 |
commit | b6849408a352a14a35dd90750dfd4414fa04cd1d (patch) | |
tree | c397daea9bbf7bc76c15c811734f6b7d0e25582c /gcc/bitmap.c | |
parent | 39b644e9c5f0bff23408b78a2af980d6b49a05ea (diff) | |
download | gcc-b6849408a352a14a35dd90750dfd4414fa04cd1d.tar.gz |
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91306 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r-- | gcc/bitmap.c | 23 |
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. */ |