Update df_lr_bb_local_compute for embedded bitmaps.

2010-06-04  H.J. Lu  <hongjiu.lu@intel.com>

	PR boostrap/44421
	* df-problems.c (df_lr_bb_local_compute): Updated for embedded
	bitmaps.
	(df_byte_lr_bb_local_compute): Likewise.

From-SVN: r160305
This commit is contained in:
H.J. Lu 2010-06-05 00:48:49 +00:00 committed by H.J. Lu
parent bbf0fae341
commit c69d3a0e59
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2010-06-04 H.J. Lu <hongjiu.lu@intel.com>
PR boostrap/44421
* df-problems.c (df_lr_bb_local_compute): Updated for embedded
bitmaps.
(df_byte_lr_bb_local_compute): Likewise.
2010-06-03 Jason Merrill <jason@redhat.com>
Implement noexcept operator (5.3.7)

View File

@ -903,7 +903,7 @@ df_lr_bb_local_compute (unsigned int bb_index)
df_ref use = *use_rec;
/* Add use to set of uses in this BB. */
if (DF_REF_FLAGS (use) & DF_REF_AT_TOP)
bitmap_set_bit (bb_info->use, DF_REF_REGNO (use));
bitmap_set_bit (&bb_info->use, DF_REF_REGNO (use));
}
#endif
@ -2712,7 +2712,7 @@ df_byte_lr_bb_local_compute (unsigned int bb_index)
unsigned int uregno = DF_REF_REGNO (use);
unsigned int start = problem_data->regno_start[uregno];
unsigned int len = problem_data->regno_len[uregno];
bitmap_set_range (bb_info->use, start, len);
bitmap_set_range (&bb_info->use, start, len);
}
}
#endif