* boehm.c (mark_reference_fields): Only call byte_position on
non-static fields.
From-SVN: r33351
+2000-04-22 Tom Tromey <tromey@cygnus.com>
+
+ * boehm.c (mark_reference_fields): Only call byte_position on
+ non-static fields.
+
2000-04-22 Tom Tromey <tromey@cygnus.com>
* boehm.c (mark_reference_fields): Added `last_view_index'
for (; field != NULL_TREE; field = TREE_CHAIN (field))
{
- HOST_WIDE_INT offset = tree_low_cst (byte_position (field), 1);
+ HOST_WIDE_INT offset;
if (FIELD_STATIC (field))
continue;
+ offset = tree_low_cst (byte_position (field), 1);
if (JREFERENCE_TYPE_P (TREE_TYPE (field)))
{
unsigned int count;