[pypy-svn] r49979 - in pypy/dist/pypy/rpython: . memory/gctransform

arigo at codespeak.net arigo at codespeak.net
Fri Dec 21 12:01:30 CET 2007


Author: arigo
Date: Fri Dec 21 12:01:30 2007
New Revision: 49979

Modified:
   pypy/dist/pypy/rpython/annlowlevel.py
   pypy/dist/pypy/rpython/memory/gctransform/transform.py
Log:
Fix.


Modified: pypy/dist/pypy/rpython/annlowlevel.py
==============================================================================
--- pypy/dist/pypy/rpython/annlowlevel.py	(original)
+++ pypy/dist/pypy/rpython/annlowlevel.py	Fri Dec 21 12:01:30 2007
@@ -289,6 +289,7 @@
         translator = self.rtyper.annotator.translator
         newgraphs = self.newgraphs.keys()
         backend_optimizations(translator, newgraphs, secondary=True, **flags)
+        self.newgraphs.clear()
 
 # ____________________________________________________________
 

Modified: pypy/dist/pypy/rpython/memory/gctransform/transform.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gctransform/transform.py	(original)
+++ pypy/dist/pypy/rpython/memory/gctransform/transform.py	Fri Dec 21 12:01:30 2007
@@ -292,7 +292,7 @@
         self.finished_helpers = True
         if self.translator is not None:
             self.mixlevelannotator.finish_rtype()
-            #self.mixlevelannotator.backend_optimize()
+            self.mixlevelannotator.backend_optimize()
 
     def finish_tables(self):
         pass



More information about the Pypy-commit mailing list