Commit 65272d1a authored by Marius Wachtler's avatar Marius Wachtler

fix generator_collection.py OSR

parent 5d44b58e
......@@ -780,7 +780,7 @@ Box* ASTInterpreter::doOSR(AST_Jump* node) {
}
if (generator)
sorted_symbol_table[source_info->getInternedStrings().get(PASSED_GENERATOR_NAME)] = generator;
sorted_symbol_table[source_info->getInternedStrings().get(PASSED_GENERATOR_NAME)] = incref(generator);
if (frame_info.passed_closure)
sorted_symbol_table[source_info->getInternedStrings().get(PASSED_CLOSURE_NAME)] = incref(frame_info.passed_closure);
......
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