diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-04-23 15:20:57 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-04-23 15:20:57 +0000 |
commit | 3c8c10b8c691cd1f8111f4eaf50ff22beadc0088 (patch) | |
tree | 32ac1cc8537dcb7119d3d4af120c5b480388138a | |
parent | 3508c681cdd351259d8a1b6f8ed4e472b27bafb9 (diff) | |
download | gcc-3c8c10b8c691cd1f8111f4eaf50ff22beadc0088.zip gcc-3c8c10b8c691cd1f8111f4eaf50ff22beadc0088.tar.gz gcc-3c8c10b8c691cd1f8111f4eaf50ff22beadc0088.tar.bz2 |
* boehm.c (mark_reference_fields): Use int_byte_position.
From-SVN: r33354
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/boehm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index dab029e..64c3514 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -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 diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c index 1a64487..3d8b593 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; |