[pypy-svn] r65440 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Tue May 26 21:44:48 CEST 2009


Author: fijal
Date: Tue May 26 21:44:47 2009
New Revision: 65440

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/graphpage.py
Log:
don't show suboperations for guard_nonvirtualized


Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/graphpage.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/graphpage.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/graphpage.py	Tue May 26 21:44:47 2009
@@ -2,7 +2,7 @@
 from pypy.translator.tool.graphpage import GraphPage
 from pypy.translator.tool.make_dot import DotGen
 from pypy.jit.metainterp.history import Box
-
+from pypy.jit.metainterp.resoperation import rop
 
 class SubGraph:
     def __init__(self, suboperations):
@@ -16,7 +16,7 @@
     graphs = [(loop, loop in highlight_loops) for loop in loops]
     for graph, highlight in graphs:
         for op in graph.get_operations():
-            if op.is_guard():
+            if op.is_guard() and op.opnum != rop.GUARD_NONVIRTUALIZED:
                 graphs.append((SubGraph(op.suboperations), highlight))
     graphpage = ResOpGraphPage(graphs, errmsg)
     graphpage.display()



More information about the Pypy-commit mailing list