Author: Konstantin Lopuhin <[email protected]>
Branch: fix-jit-logs
Changeset: r62440:e4e6938e287b
Date: 2013-03-17 12:39 +0400
http://bitbucket.org/pypy/pypy/changeset/e4e6938e287b/

Log:    fix parse_log_count - use integer values here, as before

diff --git a/pypy/tool/jitlogparser/parser.py b/pypy/tool/jitlogparser/parser.py
--- a/pypy/tool/jitlogparser/parser.py
+++ b/pypy/tool/jitlogparser/parser.py
@@ -414,7 +414,8 @@
 def split_trace(trace):
     labels = [0]
     if trace.comment and 'Guard' in trace.comment:
-        descrs = ['bridge ' + re.search('Guard ([\da-f]+)', 
trace.comment).group(1)]
+        descrs = ['bridge %d' % int(
+            re.search('Guard ([\da-f]+)', trace.comment).group(1), 16)]
     else:
         descrs = ['entry ' + re.search('Loop (\d+)', trace.comment).group(1)]
     for i, op in enumerate(trace.operations):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to