Browse Source

Change the default has_result_temporary() implementation in tree_ir

jonathanvdc 8 years ago
parent
commit
9767f33c57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/modelverse_jit/tree_ir.py

+ 1 - 1
kernel/modelverse_jit/tree_ir.py

@@ -112,7 +112,7 @@ class Instruction(object):
 
     def has_result_temporary(self):
         """Tells if this instruction stores its result in a temporary."""
-        return True
+        return self.has_result()
 
     def generate_python_def(self, code_generator):
         """Generates a Python statement that executes this instruction.