[pypy-svn] r70095 - pypy/branch/virtual-forcing/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Mon Dec 14 15:14:55 CET 2009


Author: arigo
Date: Mon Dec 14 15:14:54 2009
New Revision: 70095

Modified:
   pypy/branch/virtual-forcing/pypy/jit/metainterp/pyjitpl.py
Log:
Debug_print the next opcode too, in addition to recording it in the
trace.  Useful in case of abort, to know where the abort took place.



Modified: pypy/branch/virtual-forcing/pypy/jit/metainterp/pyjitpl.py
==============================================================================
--- pypy/branch/virtual-forcing/pypy/jit/metainterp/pyjitpl.py	(original)
+++ pypy/branch/virtual-forcing/pypy/jit/metainterp/pyjitpl.py	Mon Dec 14 15:14:54 2009
@@ -845,6 +845,7 @@
         greenkey = self.env[:num_green_args]
         sd = self.metainterp.staticdata
         loc = sd.state.get_location_str(greenkey)
+        debug_print(loc)
         constloc = self.metainterp.cpu.ts.conststr(loc)
         self.metainterp.history.record(rop.DEBUG_MERGE_POINT,
                                        [constloc], None)



More information about the Pypy-commit mailing list