(code refactoring)
* typd_mlc.c (HIGH_BIT) Remove macro.
* typd_mlc.c (GC_make_descriptor): Use SIGNB instead of HIGH_BIT.
{
signed_word last_set_bit = len - 1;
GC_descr result;
-# define HIGH_BIT (((word)1) << (WORDSZ - 1))
DCL_LOCK_STATE;
# if defined(THREADS) && defined(AO_HAVE_load_acquire)
/* Hopefully the common case. */
/* Build bitmap descriptor (with bits reversed) */
- result = HIGH_BIT;
+ result = SIGNB;
for (i = last_set_bit - 1; i >= 0; i--) {
result >>= 1;
- if (GC_get_bit(bm, i)) result |= HIGH_BIT;
+ if (GC_get_bit(bm, i)) result |= SIGNB;
}
result |= GC_DS_BITMAP;
} else {