[pypy-svn] r74114 - pypy/branch/blackhole-improvement/pypy/translator/tool
arigo at codespeak.net
arigo at codespeak.net
Tue Apr 27 18:13:03 CEST 2010
Author: arigo
Date: Tue Apr 27 18:13:02 2010
New Revision: 74114
Modified:
pypy/branch/blackhole-improvement/pypy/translator/tool/make_dot.py
Log:
Fix to accept the strange format of flowgraphs produced by
jit/codewriter/jitter.py.
Modified: pypy/branch/blackhole-improvement/pypy/translator/tool/make_dot.py
==============================================================================
--- pypy/branch/blackhole-improvement/pypy/translator/tool/make_dot.py (original)
+++ pypy/branch/blackhole-improvement/pypy/translator/tool/make_dot.py Tue Apr 27 18:13:02 2010
@@ -152,7 +152,7 @@
shape = "octagon"
if block.exitswitch is not None:
- lines.append("exitswitch: %s" % block.exitswitch)
+ lines.append("exitswitch: %s" % (block.exitswitch,))
iargs = " ".join(map(repr, block.inputargs))
if self.VERBOSE:
More information about the Pypy-commit
mailing list