Commit 1afd132d authored by Marius Wachtler's avatar Marius Wachtler

Make sure the GC sees the fields of BoxedClassobj and BoxedInstances

parent 0c4e74ce
......@@ -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