[pypy-svn] r15312 - pypy/dist/pypy/translator/goal

arigo at codespeak.net arigo at codespeak.net
Fri Jul 29 02:19:44 CEST 2005


Author: arigo
Date: Fri Jul 29 02:19:42 2005
New Revision: 15312

Modified:
   pypy/dist/pypy/translator/goal/order.py
Log:
Additionally sort by module name if the module list is not precise enough.


Modified: pypy/dist/pypy/translator/goal/order.py
==============================================================================
--- pypy/dist/pypy/translator/goal/order.py	(original)
+++ pypy/dist/pypy/translator/goal/order.py	Fri Jul 29 02:19:42 2005
@@ -41,7 +41,7 @@
                   if len(pfx) > len(prefixes[match]):
                      match = i
             i += 1
-         cache[tag] = match
+         cache[tag] = match, module
          return match
 
    pending.sort(lambda  blk1, blk2: cmp(indx(blk1), indx(blk2)))



More information about the Pypy-commit mailing list