[pypy-svn] r37350 - pypy/dist/pypy/translator/tool
ac at codespeak.net
ac at codespeak.net
Thu Jan 25 19:08:18 CET 2007
Author: ac
Date: Thu Jan 25 19:08:17 2007
New Revision: 37350
Modified:
pypy/dist/pypy/translator/tool/graphpage.py
Log:
(arre, pedronis) trying to increase the chances of link/block.show() working
with incomplete graphs...
Modified: pypy/dist/pypy/translator/tool/graphpage.py
==============================================================================
--- pypy/dist/pypy/translator/tool/graphpage.py (original)
+++ pypy/dist/pypy/translator/tool/graphpage.py Thu Jan 25 19:08:17 2007
@@ -87,7 +87,7 @@
def graphsof(translator, func):
- if isinstance(func, FunctionGraph):
+ if isinstance(func, (FunctionGraph, IncompleteGraph)):
return [func] # already a graph
graphs = []
if translator.annotator:
@@ -473,6 +473,7 @@
class IncompleteGraph:
name = '(incomplete graph)'
+ tag = None
def __init__(self, bunch_of_blocks):
self.bunch_of_blocks = bunch_of_blocks
More information about the Pypy-commit
mailing list