* boehm.c (mark_reference_fields): Use int_byte_position.
authorTom Tromey <tromey@cygnus.com>
Sun, 23 Apr 2000 15:20:57 +0000 (15:20 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sun, 23 Apr 2000 15:20:57 +0000 (15:20 +0000)
From-SVN: r33354

gcc/java/ChangeLog
gcc/java/boehm.c

index dab029e97caaaf2bb736c2471f49a894867fa6ab..64c35147e2cd09becea262c4951a6dc76ca69a9e 100644 (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
index 1a644875eb28ad3f77ca9b95ee582d0ca4fd5204..3d8b59399bf5c6586b49a1675c96b4c2e3741bec 100644 (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;