Skip to content

Commit a630c2b

Browse files
committed
Don't need to visit various a few things we'll only set up from the serialization context deserializer; clear up useless freeze/thaw that just called SUPER; add get_iter.
1 parent d3f4b23 commit a630c2b

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/pmc/nqplexinfo.pmc

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,13 @@ pmclass NQPLexInfo
8282

8383
VTABLE void visit(PMC *info) {
8484
VISIT_PMC_ATTR(INTERP, info, SELF, NQPLexInfo, name_to_register_map);
85-
VISIT_PMC_ATTR(INTERP, info, SELF, NQPLexInfo, static_values);
86-
VISIT_PMC_ATTR(INTERP, info, SELF, NQPLexInfo, static_slots_cache);
87-
VISIT_PMC_ATTR(INTERP, info, SELF, NQPLexInfo, static_values_cache);
88-
SUPER(info);
89-
}
90-
91-
VTABLE void freeze(PMC *info) {
9285
SUPER(info);
9386
}
9487

95-
VTABLE void thaw(PMC *info) {
96-
SUPER(info);
88+
VTABLE PMC *get_iter() {
89+
PMC *name_to_register_map;
90+
GET_ATTR_name_to_register_map(INTERP, SELF, name_to_register_map);
91+
return VTABLE_get_iter(interp, name_to_register_map);
9792
}
9893

9994
/*

0 commit comments

Comments
 (0)