Skip to content

Commit bd58479

Browse files
committed
Set missing sentinels.
1 parent 1aece91 commit bd58479

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/6model/reprs/P6opaque.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,9 @@ static void deserialize_repr_data(PARROT_INTERP, STable *st, SerializationReader
10271027
cur_offset += cur_st->REPR->get_storage_spec(interp, st).bits / 8;
10281028
}
10291029
}
1030+
repr_data->initialize_slots[cur_initialize_slot] = -1;
1031+
repr_data->gc_mark_slots[cur_gc_mark_slot] = -1;
1032+
repr_data->gc_cleanup_slots[cur_gc_cleanup_slot] = -1;
10301033

10311034
repr_data->allocation_size = sizeof(P6opaqueInstance) + cur_offset;
10321035
}

0 commit comments

Comments
 (0)