From 9255da3813c4748ae9534b3042f4392ee95c55fe Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 9 Aug 2010 19:42:49 +0200 Subject: [PATCH] reenable optimisations to prevent their tests from failing, tiny cleanup --- Cython/Compiler/Main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 539cada3..208b575c 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -155,12 +155,10 @@ class Context(object): OptimizeBuiltinCalls(self), ## Necessary? IterationTransform(), SwitchTransform(), -# DropRefcountingTransform(), -# FinalOptimizePhase(self), + DropRefcountingTransform(), + FinalOptimizePhase(self), GilCheck(), #ClearResultCodes(self), - #SpecialFunctions(self), - #CreateClosureClasses(context), ] def create_pyx_pipeline(self, options, result, py=False): -- 2.26.2