Commit 6322c314 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #516 from tjhance/instancemethod_gc

visit im_class in gc handler
parents 5c1e2802 b0f8946b
...@@ -540,10 +540,9 @@ extern "C" void instancemethodGCHandler(GCVisitor* v, Box* b) { ...@@ -540,10 +540,9 @@ extern "C" void instancemethodGCHandler(GCVisitor* v, Box* b) {
BoxedInstanceMethod* im = (BoxedInstanceMethod*)b; BoxedInstanceMethod* im = (BoxedInstanceMethod*)b;
if (im->obj) { v->visit(im->obj);
v->visit(im->obj);
}
v->visit(im->func); v->visit(im->func);
v->visit(im->im_class);
} }
extern "C" void propertyGCHandler(GCVisitor* v, Box* b) { extern "C" void propertyGCHandler(GCVisitor* v, Box* b) {
......
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