removed unused code and outdated comment
authorStefan Behnel <scoder@users.berlios.de>
Fri, 10 Apr 2009 18:50:48 +0000 (20:50 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 10 Apr 2009 18:50:48 +0000 (20:50 +0200)
Cython/Compiler/ExprNodes.py

index f055c99d152211313d4d8fe580ddda5e827d8b83..0c4c081fc0ad14b6ee24f4e11f65619b1cd7edd1 100644 (file)
@@ -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