File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -503,11 +503,10 @@ void jl_compute_field_offsets(jl_datatype_t *st)
503
503
// now finish deciding if this instantiation qualifies for special properties
504
504
assert (!isbitstype || st -> layout -> npointers == 0 ); // the definition of isbits
505
505
if (isinlinealloc && st -> layout -> npointers > 0 ) {
506
- //if (st->ninitialized != nfields)
507
- // isinlinealloc = 0;
508
- //else if (st->layout->fielddesc_type != 0) // GC only implements support for this
509
- // isinlinealloc = 0;
510
- isinlinealloc = 0 ;
506
+ if (st -> ninitialized != nfields )
507
+ isinlinealloc = 0 ;
508
+ else if (st -> layout -> fielddesc_type != 0 ) // GC only implements support for this
509
+ isinlinealloc = 0 ;
511
510
}
512
511
st -> isbitstype = isbitstype ;
513
512
st -> isinlinealloc = isinlinealloc ;
You can’t perform that action at this time.
0 commit comments