Commits

Konstantin Lopuhin committed 351043f

guard is in hex in comments now

Comments (0)

Files changed (1)

pypy/tool/jitlogparser/parser.py

         comm = loop.comment
         comm = comm.lower()
         if comm.startswith('# bridge'):
-            m = re.search('guard (\d+)', comm)
-            name = 'guard ' + hex(int(m.group(1)))[2:]
+            m = re.search('guard ([\da-f]+)', comm)
+            name = 'guard ' + m.group(1)
         elif "(" in comm:
             name = comm[2:comm.find('(')-1]
         else: