Commit ebe9df67 by Richard Sandiford Committed by Richard Sandiford

boehm.c (mark_reference_fields): Don't update the mask when setting pointer_after_end.

gcc/java/
	* boehm.c (mark_reference_fields): Don't update the mask when
	setting pointer_after_end.

From-SVN: r210119
parent aa3a12d6
2014-05-06 Richard Sandiford <r.sandiford@uk.ibm.com>
* boehm.c (mark_reference_fields): Don't update the mask when
setting pointer_after_end.
2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com>
Mike Stump <mikestump@comcast.net>
Richard Sandiford <rdsandiford@googlemail.com>
......
......@@ -101,6 +101,9 @@ mark_reference_fields (tree field,
*last_set_index = count;
if (count >= ubit - 2)
*pointer_after_end = 1;
else
/* First word in object corresponds to most significant byte of
bitmap.
......@@ -110,9 +113,6 @@ mark_reference_fields (tree field,
for (i = 0; i < size_words; ++i)
*mask = wi::set_bit (*mask, ubit - count - i - 1);
if (count >= ubit - 2)
*pointer_after_end = 1;
/* If we saw a non-reference field earlier, then we can't
use the count representation. We keep track of that in
*ALL_BITS_SET. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment