Commit 1afca47f authored by Robert Bradshaw's avatar Robert Bradshaw

Disable optimizations (revert before release).

parent e15cf1e1
...@@ -138,25 +138,25 @@ class Context(object): ...@@ -138,25 +138,25 @@ class Context(object):
_align_function_definitions, _align_function_definitions,
MarkClosureVisitor(self), MarkClosureVisitor(self),
ConstantFolding(), ConstantFolding(),
FlattenInListTransform(), # FlattenInListTransform(),
WithTransform(self), WithTransform(self),
DecoratorTransform(self), DecoratorTransform(self),
AnalyseDeclarationsTransform(self), AnalyseDeclarationsTransform(self),
CreateClosureClasses(self), CreateClosureClasses(self),
AutoTestDictTransform(self), AutoTestDictTransform(self),
EmbedSignature(self), EmbedSignature(self),
EarlyReplaceBuiltinCalls(self), EarlyReplaceBuiltinCalls(self), ## Necessary?
MarkAssignments(self), MarkAssignments(self),
MarkOverflowingArithmetic(self), MarkOverflowingArithmetic(self),
TransformBuiltinMethods(self), # TransformBuiltinMethods(self),
IntroduceBufferAuxiliaryVars(self), IntroduceBufferAuxiliaryVars(self),
_check_c_declarations, _check_c_declarations,
AnalyseExpressionsTransform(self), AnalyseExpressionsTransform(self),
OptimizeBuiltinCalls(self), # OptimizeBuiltinCalls(self),
IterationTransform(), # IterationTransform(),
SwitchTransform(), SwitchTransform(),
DropRefcountingTransform(), # DropRefcountingTransform(),
FinalOptimizePhase(self), # FinalOptimizePhase(self),
GilCheck(), GilCheck(),
#ClearResultCodes(self), #ClearResultCodes(self),
#SpecialFunctions(self), #SpecialFunctions(self),
......
...@@ -329,7 +329,8 @@ class CythonCompileTestCase(unittest.TestCase): ...@@ -329,7 +329,8 @@ class CythonCompileTestCase(unittest.TestCase):
use_listing_file = False, use_listing_file = False,
cplus = self.language == 'cpp', cplus = self.language == 'cpp',
generate_pxi = False, generate_pxi = False,
evaluate_tree_assertions = True, # evaluate_tree_assertions = True,
evaluate_tree_assertions = False,
) )
cython_compile(source, options=options, cython_compile(source, options=options,
full_module_name=module) full_module_name=module)
......
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