summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-pre.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-25 10:31:38 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-25 10:31:38 +0000
commit0e06d11ae87a475871e98251ccd7341cc60f75ea (patch)
tree60167593bb07447210914ff3d3ea5ed5f3a01a6a /gcc/tree-ssa-pre.c
parentd8663b3e6304db3bdcfd45c8f6c4487aa0cf49e2 (diff)
downloadgcc-0e06d11ae87a475871e98251ccd7341cc60f75ea.tar.gz
* basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
(FREE_REG_SET): Adjust. * bitmap.c (bitmap_obstack_free): Cope with NULL bitmap. * bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ... (BITMAP_ALLOC): ... here. (BITMAP_OBSTACK_FREE): Rename to ... (BITMAP_FREE): Don't check for NULL bitmap here. * tree-ssa-pre.c (value_insert_into_set_bitmap, bitmap_set_new): Use new names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r--gcc/tree-ssa-pre.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index 5bb552f6f81..cbf43c42a70 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -462,7 +462,7 @@ value_insert_into_set_bitmap (value_set_t set, tree v)
gcc_assert (set->indexed);
if (set->values == NULL)
- set->values = BITMAP_OBSTACK_ALLOC (&grand_bitmap_obstack);
+ set->values = BITMAP_ALLOC (&grand_bitmap_obstack);
bitmap_set_bit (set->values, VALUE_HANDLE_ID (v));
}
@@ -474,8 +474,8 @@ static bitmap_set_t
bitmap_set_new (void)
{
bitmap_set_t ret = pool_alloc (bitmap_set_pool);
- ret->expressions = BITMAP_OBSTACK_ALLOC (&grand_bitmap_obstack);
- ret->values = BITMAP_OBSTACK_ALLOC (&grand_bitmap_obstack);
+ ret->expressions = BITMAP_ALLOC (&grand_bitmap_obstack);
+ ret->values = BITMAP_ALLOC (&grand_bitmap_obstack);
return ret;
}