From: Dag Sverre Seljebotn Date: Mon, 29 Sep 2008 16:18:47 +0000 (+0200) Subject: CloneNode result_code modernization. X-Git-Tag: 0.9.9.2.beta~63^2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c587c44918a6dba26fecb307ebcd602dafb2294b;p=cython.git CloneNode result_code modernization. --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index aa4d5a39..2ba795e3 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -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