Branch: Tag:

2019-09-13

2019-09-13 13:40:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Array: Force the real_items field to be aligned on svalue size.

This makes it possible to eg access individual elements of the array
using 128-bit operations on LP64 architectures.

3169:    /* Reuse the already allocated (and emptied) array. */    a->size = len;    a->type_field = BIT_MIXED | BIT_UNFINISHED; -  a->item = a->real_item; +  a->item = a->u.real_item;    } else {    /* Allocate a new array. */    a = allocate_array(len);