Commit c850faca authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #731 from kmod/gc_fixes

A fix to the ast interpreter gc visitor
parents 5a0f66dd 84f0d34f
......@@ -255,7 +255,7 @@ void ASTInterpreter::gcHandler(GCVisitor* visitor, Box* box) {
ASTInterpreter* interp = (ASTInterpreter*)box;
auto&& vec = interp->sym_table.vector();
visitor->visitRange((void* const*)&vec[0], (void* const*)&vec[interp->sym_table.size()]);
visitor->visitRange((void* const*)&vec[0], (void* const*)&vec[vec.size()]);
visitor->visit(interp->passed_closure);
visitor->visit(interp->created_closure);
visitor->visit(interp->generator);
......
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