diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index dab029e97ca..64c35147e2c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2000-04-23 Tom Tromey + + * boehm.c (mark_reference_fields): Use int_byte_position. + 2000-04-22 Tom Tromey * boehm.c (mark_reference_fields): Only call byte_position on diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c index 1a644875eb2..3d8b59399bf 100644 --- a/gcc/java/boehm.c +++ b/gcc/java/boehm.c @@ -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;