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

tismer at codespeak.net tismer at codespeak.net
Wed Feb 15 01:26:57 CET 2006


Author: tismer
Date: Wed Feb 15 01:26:55 2006
New Revision: 23350

Modified:
   pypy/dist/pypy/translator/backendopt/inline.py
Log:
changed the single-call inline from 0.1 to 0.3. reason: compiler crash on windows.
XXX these things should in general *always* be inlined. provide a way to let the backend
communicate  absolute limits to the inlining and backtrack?

Modified: pypy/dist/pypy/translator/backendopt/inline.py
==============================================================================
--- pypy/dist/pypy/translator/backendopt/inline.py	(original)
+++ pypy/dist/pypy/translator/backendopt/inline.py	Wed Feb 15 01:26:55 2006
@@ -384,7 +384,7 @@
     factor = 1
     if callers is not None:
         if len(callers) == 1:
-            factor = 0.1
+            factor = 0.3
     return (0.9999 * measure_median_execution_cost(graph) +
             static_instruction_count(graph)) * factor
 



More information about the Pypy-commit mailing list