[pypy-commit] jitviewer default: another fix (to untested part:)
fijal
noreply at buildbot.pypy.org
Mon May 23 14:48:08 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r119:daba964c71c1
Date: 2011-04-09 23:11 +0200
http://bitbucket.org/pypy/jitviewer/changeset/daba964c71c1/
Log: another fix (to untested part:)
diff --git a/bin/jitviewer.py b/bin/jitviewer.py
--- a/bin/jitviewer.py
+++ b/bin/jitviewer.py
@@ -108,7 +108,7 @@
startline, endline = loop.linerange
if loop.filename is not None:
- code = self.storage.load_code(loop.filename)[loop.startlineno]
+ code = self.storage.load_code(loop.filename)[(loop.startlineno, loop.name)]
source = CodeRepr(inspect.getsource(code), code, loop)
else:
source = CodeReprNoFile(loop)
More information about the pypy-commit
mailing list