diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-02-17 21:40:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2005-02-17 21:40:16 +0100 |
commit | 7b210806753f58281323b6cc4a05f1ee4f5e19dc (patch) | |
tree | 2c2d2d7c12a069027150e4671180eb556ac377ec /gcc | |
parent | 7801fed43de9df48ec81760a5fb20f54436d165f (diff) | |
download | gcc-7b210806753f58281323b6cc4a05f1ee4f5e19dc.zip gcc-7b210806753f58281323b6cc4a05f1ee4f5e19dc.tar.gz gcc-7b210806753f58281323b6cc4a05f1ee4f5e19dc.tar.bz2 |
s390.c (s390_alloc_pool, [...]): Use BITMAP_ALLOC and BITMAP_FREE.
* config/s390/s390.c (s390_alloc_pool, s390_free_pool,
s390_chunkify_start): Use BITMAP_ALLOC and BITMAP_FREE.
* config/frv/frv.c (frv_function_epilogue): Likewise.
From-SVN: r95190
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/frv/frv.c | 4 | ||||
-rw-r--r-- | gcc/config/s390/s390.c | 8 |
3 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4eab1a..899bba7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-02-17 Jakub Jelinek <jakub@redhat.com> + + * config/s390/s390.c (s390_alloc_pool, s390_free_pool, + s390_chunkify_start): Use BITMAP_ALLOC and BITMAP_FREE. + * config/frv/frv.c (frv_function_epilogue): Likewise. + 2005-02-17 Daniel Berlin <dberlin@dberlin.org> * lambda-code (perfect_nestify): Remove mark/unmark diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index c451458..25b2f76 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -1876,7 +1876,7 @@ frv_function_epilogue (FILE *file ATTRIBUTE_UNUSED, memset (&frv_ifcvt.tmp_reg, 0, sizeof (frv_ifcvt.tmp_reg)); /* Release the bitmap of created insns. */ - BITMAP_XFREE (frv_ifcvt.scratch_insns_bitmap); + BITMAP_FREE (frv_ifcvt.scratch_insns_bitmap); } @@ -7722,7 +7722,7 @@ frv_ifcvt_modify_final (ce_if_block_t *ce_info ATTRIBUTE_UNUSED) { rtx insn = emit_insn_before (frv_ifcvt.scratch_regs[i], existing_insn); if (! frv_ifcvt.scratch_insns_bitmap) - frv_ifcvt.scratch_insns_bitmap = BITMAP_XMALLOC (); + frv_ifcvt.scratch_insns_bitmap = BITMAP_ALLOC (NULL); bitmap_set_bit (frv_ifcvt.scratch_insns_bitmap, INSN_UID (insn)); frv_ifcvt.scratch_regs[i] = NULL_RTX; } diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index f9be9cf0..a5896e8 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -5437,7 +5437,7 @@ s390_alloc_pool (void) pool->label = gen_label_rtx (); pool->first_insn = NULL_RTX; pool->pool_insn = NULL_RTX; - pool->insns = BITMAP_XMALLOC (); + pool->insns = BITMAP_ALLOC (NULL); pool->size = 0; return pool; @@ -5464,7 +5464,7 @@ s390_free_pool (struct constant_pool *pool) free (c); } - BITMAP_XFREE (pool->insns); + BITMAP_FREE (pool->insns); free (pool); } @@ -5821,7 +5821,7 @@ s390_chunkify_start (void) /* Find all labels that are branched into from an insn belonging to a different chunk. */ - far_labels = BITMAP_XMALLOC (); + far_labels = BITMAP_ALLOC (NULL); for (insn = get_insns (); insn; insn = NEXT_INSN (insn)) { @@ -5918,7 +5918,7 @@ s390_chunkify_start (void) } - BITMAP_XFREE (far_labels); + BITMAP_FREE (far_labels); /* Recompute insn addresses. */ |