Commit 068db1d6 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Small fix

parent 6ee53629
......@@ -594,7 +594,9 @@ class NewTempExprNode(ExprNode):
def allocate_target_temps(self, env, rhs):
self.allocate_subexpr_temps(env)
rhs.release_temp(rhs)
self.is_target = True
if rhs:
rhs.release_temp(env)
self.release_subexpr_temps(env)
def allocate_temps(self, env, result = None):
......
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