From: Stefan Behnel Date: Wed, 8 Sep 2010 09:40:27 +0000 (+0200) Subject: removed dead legacy code X-Git-Tag: 0.14.alpha0~343 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42718de04b6ab9d293fa9a6dfb5f51a70f5da3d3;p=cython.git removed dead legacy code --- diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 208b575c..a22f3510 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -109,15 +109,6 @@ class Context(object): from Buffer import IntroduceBufferAuxiliaryVars from ModuleNode import check_c_declarations, check_c_declarations_pxd - # Temporary hack that can be used to ensure that all result_code's - # are generated at code generation time. - import Visitor - class ClearResultCodes(Visitor.CythonTransform): - def visit_ExprNode(self, node): - self.visitchildren(node) - node.result_code = "" - return node - if pxd: _check_c_declarations = check_c_declarations_pxd _specific_post_parse = PxdPostParse(self) @@ -158,7 +149,6 @@ class Context(object): DropRefcountingTransform(), FinalOptimizePhase(self), GilCheck(), - #ClearResultCodes(self), ] def create_pyx_pipeline(self, options, result, py=False):