summaryrefslogtreecommitdiff
path: root/gcc/java/boehm.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-23 15:20:57 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-23 15:20:57 +0000
commit99c7b888d070a31f4a0883bb470ab5cca5892d46 (patch)
tree32ac1cc8537dcb7119d3d4af120c5b480388138a /gcc/java/boehm.c
parentd66834dccc147a2eb86dc4e796423a03d7d2c4d4 (diff)
downloadgcc-99c7b888d070a31f4a0883bb470ab5cca5892d46.tar.gz
* boehm.c (mark_reference_fields): Use int_byte_position.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33354 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/boehm.c')
-rw-r--r--gcc/java/boehm.c2
1 files changed, 1 insertions, 1 deletions
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;