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 @@ -518,11 +518,10 @@ void jl_compute_field_offsets(jl_datatype_t *st)
518
518
// now finish deciding if this instantiation qualifies for special properties
519
519
assert (!isbitstype || st -> layout -> npointers == 0 ); // the definition of isbits
520
520
if (isinlinealloc && st -> layout -> npointers > 0 ) {
521
- //if (st->ninitialized != nfields)
522
- // isinlinealloc = 0;
523
- //else if (st->layout->fielddesc_type != 0) // GC only implements support for this
524
- // isinlinealloc = 0;
525
- isinlinealloc = 0 ;
521
+ if (st -> ninitialized != nfields )
522
+ isinlinealloc = 0 ;
523
+ else if (st -> layout -> fielddesc_type != 0 ) // GC only implements support for this
524
+ isinlinealloc = 0 ;
526
525
}
527
526
st -> isbitstype = isbitstype ;
528
527
st -> isinlinealloc = isinlinealloc ;
You can’t perform that action at this time.
0 commit comments