ar...@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 :-)).

_______________________________________________
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to