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

Disable optimizations (revert before release).

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