We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f28d91 commit b9de078Copy full SHA for b9de078
src/datatype.c
@@ -506,11 +506,10 @@ void jl_compute_field_offsets(jl_datatype_t *st)
506
// now finish deciding if this instantiation qualifies for special properties
507
assert(!isbitstype || st->layout->npointers == 0); // the definition of isbits
508
if (isinlinealloc && st->layout->npointers > 0) {
509
- //if (st->ninitialized != nfields)
510
- // isinlinealloc = 0;
511
- //else if (st->layout->fielddesc_type != 0) // GC only implements support for this
512
513
- isinlinealloc = 0;
+ if (st->ninitialized != nfields)
+ isinlinealloc = 0;
+ else if (st->layout->fielddesc_type != 0) // GC only implements support for this
514
}
515
st->isbitstype = isbitstype;
516
st->isinlinealloc = isinlinealloc;
0 commit comments