Commit 42718de0 authored by Stefan Behnel's avatar Stefan Behnel

removed dead legacy code

parent 13327ba0
...@@ -109,15 +109,6 @@ class Context(object): ...@@ -109,15 +109,6 @@ class Context(object):
from Buffer import IntroduceBufferAuxiliaryVars from Buffer import IntroduceBufferAuxiliaryVars
from ModuleNode import check_c_declarations, check_c_declarations_pxd 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 = "<cleared>"
return node
if pxd: if pxd:
_check_c_declarations = check_c_declarations_pxd _check_c_declarations = check_c_declarations_pxd
_specific_post_parse = PxdPostParse(self) _specific_post_parse = PxdPostParse(self)
...@@ -158,7 +149,6 @@ class Context(object): ...@@ -158,7 +149,6 @@ class Context(object):
DropRefcountingTransform(), DropRefcountingTransform(),
FinalOptimizePhase(self), FinalOptimizePhase(self),
GilCheck(), GilCheck(),
#ClearResultCodes(self),
] ]
def create_pyx_pipeline(self, options, result, py=False): def create_pyx_pipeline(self, options, result, py=False):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment