Commit f4e84e98 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Pass on free_temps also through non-temp ExprNodes

parent ec25a63e
......@@ -510,7 +510,9 @@ class ExprNode(Node):
pass
def free_temps(self, code):
pass
if not self.is_temp:
self.free_subexpr_temps(code)
# otherwise, already freed in generate_evaluation_code
def free_subexpr_temps(self, code):
for sub in self.subexpr_nodes():
......
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