CloneNode result_code modernization.
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Mon, 29 Sep 2008 16:18:47 +0000 (18:18 +0200)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Mon, 29 Sep 2008 16:18:47 +0000 (18:18 +0200)
Cython/Compiler/ExprNodes.py

index aa4d5a3985dfd65ccf9fdd338ec6e0d20b3079d1..2ba795e3e2e19c2400877553d9e3051fbb6f2fa0 100644 (file)
@@ -4275,7 +4275,7 @@ class CloneNode(CoercionNode):
         if hasattr(arg, 'entry'):
             self.entry = arg.entry
     
-    def calculate_result_code(self):
+    def result(self):
         return self.arg.result()
         
     def analyse_types(self, env):
@@ -4295,7 +4295,7 @@ class CloneNode(CoercionNode):
         pass
                 
     def allocate_temps(self, env):
-        self.result_code = self.calculate_result_code()
+        pass
         
     def release_temp(self, env):
         pass