[pypy-svn] r40877 - pypy/dist/pypy/jit/codegen/ppc

mwh at codespeak.net mwh at codespeak.net
Wed Mar 21 09:50:30 CET 2007


Author: mwh
Date: Wed Mar 21 09:50:29 2007
New Revision: 40877

Modified:
   pypy/dist/pypy/jit/codegen/ppc/regalloc.py
Log:
add even more spew to debug_print


Modified: pypy/dist/pypy/jit/codegen/ppc/regalloc.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/ppc/regalloc.py	(original)
+++ pypy/dist/pypy/jit/codegen/ppc/regalloc.py	Wed Mar 21 09:50:29 2007
@@ -142,6 +142,7 @@
                 print "Processing instruction"
                 print insn
                 print "LRU list was:", self.lru
+                print 'located at', [self.loc_of(a) for a in self.lru]
 
             # put things into the lru
             for arg in insn.reg_args:
@@ -150,6 +151,7 @@
                 self._promote(insn.result)
             if DEBUG_PRINT:
                 print "LRU list is now:", self.lru
+                print 'located at', [self.loc_of(a) for a in self.lru if a is not insn.result]
 
             # We need to allocate a register for each used
             # argument that is not already in one



More information about the Pypy-commit mailing list