var-tracking.c (vt_find_locations): Set the in_pending bitmap at once.

* var-tracking.c (vt_find_locations): Set the in_pending bitmap at
	once.

From-SVN: r85012
This commit is contained in:
Josef Zlomek 2004-07-21 19:03:47 +02:00 committed by Josef Zlomek
parent 4de69546bb
commit 0e6ed89966
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2004-07-21 Josef Zlomek <zlomekj@suse.cz>
* var-tracking.c (vt_find_locations): Set the in_pending bitmap at
once.
2004-07-21 Paolo Bonzini <bonzini@gnu.org>
* c-common.c (vector_types_convertible_p): Use vector types'

View File

@ -1700,13 +1700,10 @@ vt_find_locations (void)
in_worklist = sbitmap_alloc (last_basic_block);
in_pending = sbitmap_alloc (last_basic_block);
sbitmap_zero (in_worklist);
sbitmap_zero (in_pending);
FOR_EACH_BB (bb)
{
fibheap_insert (pending, bb_order[bb->index], bb);
SET_BIT (in_pending, bb->index);
}
fibheap_insert (pending, bb_order[bb->index], bb);
sbitmap_ones (in_pending);
while (!fibheap_empty (pending))
{