Commit 603d7d35 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #404 from undingen/gc_boxedclass

Make sure the GC sees the fields of BoxedClassobj and BoxedInstances
parents 0c4e74ce 1afd132d
......@@ -45,6 +45,10 @@ public:
BoxedClassobj* o = static_cast<BoxedClassobj*>(_o);
boxGCHandler(v, o);
if (o->bases)
v->visit(o->bases);
if (o->name)
v->visit(o->name);
}
};
......@@ -65,6 +69,8 @@ public:
BoxedInstance* o = static_cast<BoxedInstance*>(_o);
boxGCHandler(v, o);
if (o->inst_cls)
v->visit(o->inst_cls);
}
};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment