trial fix for PersistentNode (plain guessing)
authorStefan Behnel <scoder@users.berlios.de>
Fri, 11 Jul 2008 14:17:23 +0000 (16:17 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 11 Jul 2008 14:17:23 +0000 (16:17 +0200)
Cython/Compiler/ExprNodes.py

index 3216bbad37214c981c5aaaa2f4aeb6a087315a0e..7d7149bf018cb8c15c8419551c89de193de54cec 100644 (file)
@@ -4050,6 +4050,9 @@ class PersistentNode(ExprNode):
         self.result_ctype = self.arg.result_ctype
         self.is_temp = 1
     
+    def calculate_result_code(self):
+        return self.arg.result_code
+
     def generate_evaluation_code(self, code):
         if self.generate_counter == 0:
             self.arg.generate_evaluation_code(code)