* boehm.c (mark_reference_fields): Use int_byte_position.

From-SVN: r33354
This commit is contained in:
Tom Tromey 2000-04-23 15:20:57 +00:00 committed by Tom Tromey
parent 3508c681cd
commit 3c8c10b8c6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-04-23 Tom Tromey <tromey@cygnus.com>
* boehm.c (mark_reference_fields): Use int_byte_position.
2000-04-22 Tom Tromey <tromey@cygnus.com>
* boehm.c (mark_reference_fields): Only call byte_position on

View File

@ -99,7 +99,7 @@ mark_reference_fields (field, low, high, ubit,
if (FIELD_STATIC (field))
continue;
offset = tree_low_cst (byte_position (field), 1);
offset = int_byte_position (field);
if (JREFERENCE_TYPE_P (TREE_TYPE (field)))
{
unsigned int count;