aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/boehm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/boehm.c')
-rw-r--r--gcc/java/boehm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c
index 07dfb61b9..0fa8964df 100644
--- a/gcc/java/boehm.c
+++ b/gcc/java/boehm.c
@@ -108,7 +108,7 @@ mark_reference_fields (tree field,
bits for all words in the record. This is conservative, but the
size_words != 1 case is impossible in regular java code. */
for (i = 0; i < size_words; ++i)
- *mask = double_int_setbit (*mask, ubit - count - i - 1);
+ *mask = (*mask).set_bit (ubit - count - i - 1);
if (count >= ubit - 2)
*pointer_after_end = 1;
@@ -200,7 +200,7 @@ get_boehm_type_descriptor (tree type)
while (last_set_index)
{
if ((last_set_index & 1))
- mask = double_int_setbit (mask, log2_size + count);
+ mask = mask.set_bit (log2_size + count);
last_set_index >>= 1;
++count;
}
@@ -209,7 +209,7 @@ get_boehm_type_descriptor (tree type)
else if (! pointer_after_end)
{
/* Bottom two bits for bitmap mark type are 01. */
- mask = double_int_setbit (mask, 0);
+ mask = mask.set_bit (0);
value = double_int_to_tree (value_type, mask);
}
else