[pypy-dev] [pypy-svn] r66656 - pypy/branch/pyjitpl5/pypy/jit/metainterp
Antonio Cuni
anto.cuni at gmail.com
Mon Jul 27 21:47:08 CEST 2009
arigo at codespeak.net wrote:
> Author: arigo
> Date: Mon Jul 27 21:07:20 2009
> New Revision: 66656
>
> Modified:
> pypy/branch/pyjitpl5/pypy/jit/metainterp/history.py
> pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py
> Log:
> An RPython-friendly way to dump a loop.
in case you don't know, there is already code that serves this purpose, in
backend.support.AbstractLogger (used by both x86 and cli backend); you can
just set the PYPYJITLOG env variable and you get a .ops file containing a
textual representation of the loop (btw, it would be nice to have a graphical
viewer for it... hint hint :-)).
More information about the Pypy-dev
mailing list