[pypy-svn] r34880 - pypy/dist/pypy/jit/codegen/llgraph

pedronis at codespeak.net pedronis at codespeak.net
Wed Nov 22 22:24:36 CET 2006


Author: pedronis
Date: Wed Nov 22 22:24:33 2006
New Revision: 34880

Modified:
   pypy/dist/pypy/jit/codegen/llgraph/llimpl.py
Log:
try avoiding to display lots of empty blocks which are not so relevant, makes for more readable partial genereted graphs.



Modified: pypy/dist/pypy/jit/codegen/llgraph/llimpl.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/llgraph/llimpl.py	(original)
+++ pypy/dist/pypy/jit/codegen/llgraph/llimpl.py	Wed Nov 22 22:24:33 2006
@@ -396,6 +396,7 @@
     from pypy import conftest
     if conftest.option.view:
         graph = from_opaque_object(graph)
+        eliminate_empty_blocks(graph)
         graph.show()
 
 # ____________________________________________________________



More information about the Pypy-commit mailing list