From 02a1df3137d1291e8bc731ef2faa866290bd1237 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 10 Apr 2009 20:50:48 +0200 Subject: [PATCH] removed unused code and outdated comment --- Cython/Compiler/ExprNodes.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index f055c99d..0c4c081f 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -551,11 +551,6 @@ class ExprNode(Node): return None class AtomicExprNode(ExprNode): - # I do not dare to convert NameNode yet. This is now - # ancestor of all former AtomicExprNode except - # NameNode. Should be renamed to AtomicExprNode - # when done. - # Abstract base class for expression nodes which have # no sub-expressions. @@ -3718,9 +3713,6 @@ class UnopNode(ExprNode): def generate_result_code(self, code): if self.operand.type.is_pyobject: self.generate_py_operation_code(code) - else: - if self.is_temp: - self.generate_c_operation_code(code) def generate_py_operation_code(self, code): function = self.py_operation_function() @@ -4147,9 +4139,6 @@ class BinopNode(ExprNode): extra_args, code.error_goto_if_null(self.result(), self.pos))) code.put_gotref(self.py_result()) - else: - if self.is_temp: - self.generate_c_operation_code(code) def type_error(self): if not (self.operand1.type.is_error -- 2.26.2