diff options
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r-- | gcc/var-tracking.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index b64604bee42..e0daa830cf3 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -6768,15 +6768,15 @@ vt_find_locations (void) while (!fibheap_empty (worklist)) { bb = (basic_block) fibheap_extract_min (worklist); - RESET_BIT (in_worklist, bb->index); - gcc_assert (!TEST_BIT (visited, bb->index)); - if (!TEST_BIT (visited, bb->index)) + bitmap_clear_bit (in_worklist, bb->index); + gcc_assert (!bitmap_bit_p (visited, bb->index)); + if (!bitmap_bit_p (visited, bb->index)) { bool changed; edge_iterator ei; int oldinsz, oldoutsz; - SET_BIT (visited, bb->index); + bitmap_set_bit (visited, bb->index); if (VTI (bb)->in.vars) { @@ -6869,21 +6869,21 @@ vt_find_locations (void) if (e->dest == EXIT_BLOCK_PTR) continue; - if (TEST_BIT (visited, e->dest->index)) + if (bitmap_bit_p (visited, e->dest->index)) { - if (!TEST_BIT (in_pending, e->dest->index)) + if (!bitmap_bit_p (in_pending, e->dest->index)) { /* Send E->DEST to next round. */ - SET_BIT (in_pending, e->dest->index); + bitmap_set_bit (in_pending, e->dest->index); fibheap_insert (pending, bb_order[e->dest->index], e->dest); } } - else if (!TEST_BIT (in_worklist, e->dest->index)) + else if (!bitmap_bit_p (in_worklist, e->dest->index)) { /* Add E->DEST to current round. */ - SET_BIT (in_worklist, e->dest->index); + bitmap_set_bit (in_worklist, e->dest->index); fibheap_insert (worklist, bb_order[e->dest->index], e->dest); } |