Skip to content

Commit

Permalink
Set missing sentinels.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 3, 2012
1 parent 1aece91 commit bd58479
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/6model/reprs/P6opaque.c
Expand Up @@ -1027,6 +1027,9 @@ static void deserialize_repr_data(PARROT_INTERP, STable *st, SerializationReader
cur_offset += cur_st->REPR->get_storage_spec(interp, st).bits / 8;
}
}
repr_data->initialize_slots[cur_initialize_slot] = -1;
repr_data->gc_mark_slots[cur_gc_mark_slot] = -1;
repr_data->gc_cleanup_slots[cur_gc_cleanup_slot] = -1;

repr_data->allocation_size = sizeof(P6opaqueInstance) + cur_offset;
}
Expand Down

0 comments on commit bd58479

Please sign in to comment.