[pypy-svn] r25634 - pypy/dist/pypy/translator/backendopt

pedronis at codespeak.net pedronis at codespeak.net
Sun Apr 9 19:04:15 CEST 2006


Author: pedronis
Date: Sun Apr  9 19:04:15 2006
New Revision: 25634

Modified:
   pypy/dist/pypy/translator/backendopt/inline.py
Log:
re-testing orthogonally the changes to inlining.

the change in 25542 is OK. No bad performance effect vs. no-change on 25531.



Modified: pypy/dist/pypy/translator/backendopt/inline.py
==============================================================================
--- pypy/dist/pypy/translator/backendopt/inline.py	(original)
+++ pypy/dist/pypy/translator/backendopt/inline.py	Sun Apr  9 19:04:15 2006
@@ -527,6 +527,7 @@
     for graph1, graph2 in callgraph:
         callers.setdefault(graph2, {})[graph1] = True
         callees.setdefault(graph1, {})[graph2] = True
+    # the -len(callers) change is OK
     heap = [(0.0, -len(callers[graph]), graph) for graph in callers]
     valid_weight = {}
     couldnt_inline = {}



More information about the Pypy-commit mailing list