[pypy-svn] r64696 - pypy/branch/pyjitpl5/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Sun Apr 26 18:18:16 CEST 2009


Author: arigo
Date: Sun Apr 26 18:18:15 2009
New Revision: 64696

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py
Log:
Debugging info.


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/pyjitpl.py	Sun Apr 26 18:18:15 2009
@@ -713,6 +713,11 @@
             else:
                 box = consts[~num]
             self.env.append(box)
+        if DEBUG:
+            values = [box.get_() for box in self.env]
+            log('setup_resume_at_op  %s:%d %s %d' % (self.jitcode.name,
+                                                     self.pc, values,
+                                                     self.exception_target))
 
     def run_one_step(self):
         # Execute the frame forward.  This method contains a loop that leaves



More information about the Pypy-commit mailing list