Commit b0ba8e15 authored by Marius Wachtler's avatar Marius Wachtler

Add missing boxGCHandler() calls

parent f78cf569
......@@ -465,6 +465,8 @@ static void typeSetDict(Box* obj, Box* val, void* context) {
Box* dict_descr = NULL;
extern "C" void instancemethodGCHandler(GCVisitor* v, Box* b) {
boxGCHandler(v, b);
BoxedInstanceMethod* im = (BoxedInstanceMethod*)b;
if (im->obj) {
......@@ -474,6 +476,8 @@ extern "C" void instancemethodGCHandler(GCVisitor* v, Box* b) {
}
extern "C" void propertyGCHandler(GCVisitor* v, Box* b) {
boxGCHandler(v, b);
BoxedProperty* prop = (BoxedProperty*)b;
if (prop->prop_get)
......@@ -487,6 +491,8 @@ extern "C" void propertyGCHandler(GCVisitor* v, Box* b) {
}
extern "C" void staticmethodGCHandler(GCVisitor* v, Box* b) {
boxGCHandler(v, b);
BoxedStaticmethod* sm = (BoxedStaticmethod*)b;
if (sm->sm_callable)
......@@ -494,6 +500,8 @@ extern "C" void staticmethodGCHandler(GCVisitor* v, Box* b) {
}
extern "C" void classmethodGCHandler(GCVisitor* v, Box* b) {
boxGCHandler(v, b);
BoxedClassmethod* cm = (BoxedClassmethod*)b;
if (cm->cm_callable)
......
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