Commit 1ace3e16 authored by Stefan Behnel's avatar Stefan Behnel

add missing GOTREF() in pypy code

parent ab345e44
...@@ -2470,6 +2470,7 @@ class IteratorNode(ExprNode): ...@@ -2470,6 +2470,7 @@ class IteratorNode(ExprNode):
self.counter_cname, self.counter_cname,
inc_dec, inc_dec,
code.error_goto_if_null(result_name, self.pos))) code.error_goto_if_null(result_name, self.pos)))
code.put_gotref(result_name)
code.putln("#endif") code.putln("#endif")
def generate_iter_next_result_code(self, result_name, code): def generate_iter_next_result_code(self, result_name, code):
......
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