[pypy-commit] pypy fix-jit-logs: hex_re is different now, we need to get rid of 0x here

kostialopuhin noreply at buildbot.pypy.org
Tue Mar 19 06:43:08 CET 2013


Author: Konstantin Lopuhin <kostia.lopuhin at gmail.com>
Branch: fix-jit-logs
Changeset: r62444:ca4800067846
Date: 2013-03-17 13:10 +0400
http://bitbucket.org/pypy/pypy/changeset/ca4800067846/

Log:	hex_re is different now, we need to get rid of 0x here

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
@@ -374,7 +374,7 @@
             addr = int(m.group(1), 16)
             entry = entry.lower()
             m = re.search('guard ' + hex_re, entry)
-            name = m.group(0)
+            name = 'guard ' + m.group(1)
         else:
             name = entry[:entry.find('(') - 1].lower()
             addr = int(m.group(1), 16)


More information about the pypy-commit mailing list