[pypy-svn] r49891 - in pypy/dist/pypy/translator: c locality

arigo at codespeak.net arigo at codespeak.net
Tue Dec 18 16:01:35 CET 2007


Author: arigo
Date: Tue Dec 18 16:01:29 2007
New Revision: 49891

Removed:
   pypy/dist/pypy/translator/locality/
Modified:
   pypy/dist/pypy/translator/c/genc.py
Log:
This experiment proved to be not useful.  Move it to the svn limbo land.


Modified: pypy/dist/pypy/translator/c/genc.py
==============================================================================
--- pypy/dist/pypy/translator/c/genc.py	(original)
+++ pypy/dist/pypy/translator/c/genc.py	Tue Dec 18 16:01:29 2007
@@ -14,7 +14,6 @@
 from pypy.rpython.lltypesystem import lltype
 from pypy.tool.udir import udir
 from pypy.tool import isolate
-from pypy.translator.locality.calltree import CallTree
 from pypy.translator.c.support import log, c_string_constant
 from pypy.rpython.typesystem import getfunctionptr
 from pypy.translator.c import gc
@@ -396,11 +395,6 @@
         self.funcnodes = funcnodes
         self.othernodes = othernodes
         self.path = path
-        # disabled this for a while, does worsen things
-#        graph = CallTree(self.funcnodes, self.database)
-#        graph.simulate()
-#        graph.optimize()
-#        self.funcnodes = graph.ordered_funcnodes()
 
     def uniquecname(self, name):
         assert name.endswith('.c')



More information about the Pypy-commit mailing list