Commit 41ab9f0b authored by Robert Bradshaw's avatar Robert Bradshaw

Fix subtle error in new temp allocation.

parent cd4d9281
......@@ -599,7 +599,10 @@ class NewTempExprNode(ExprNode):
assert result is None
def release_temp(self, env):
if self.is_temp:
pass
else:
self.release_subexpr_temps(env)
def pre_generate_result_code(self, code):
if self.is_temp:
......
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