mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 16:31:12 +08:00
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
This commit is contained in:
parent
7801fed43d
commit
7b21080675
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user