Commit 19881eb0 authored by asaka's avatar asaka

fix dictViewGCHandler

parent 61211349
...@@ -443,9 +443,8 @@ BoxedClass* dict_items_cls = NULL; ...@@ -443,9 +443,8 @@ BoxedClass* dict_items_cls = NULL;
extern "C" void dictViewGCHandler(GCVisitor* v, Box* b) { extern "C" void dictViewGCHandler(GCVisitor* v, Box* b) {
boxGCHandler(v, b); boxGCHandler(v, b);
BoxedDictView* view = static_cast<BoxedDictView*>(b);
BoxedDictIterator* it = static_cast<BoxedDictIterator*>(b); v->visit(view->d);
v->visit(it->d);
} }
void setupDict() { void setupDict() {
......
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