Commits

Armin Rigo  committed 476caba

Fix on 32-bit linux

  • Participants
  • Parent commits f4d0526

Comments (0)

Files changed (1)

File pypy/tool/jitlogparser/parser.py

         _, addr, _, data = re.split(" +", dump)
         backend_name = backend.split(" ")[1]
         addr = int(addr[1:], 16)
+        if addr < 0:
+            addr += (2 * sys.maxint + 2)
         if addr in addrs and addrs[addr]:
             name = addrs[addr].pop(0) # they should come in order
             dumps[name] = (backend_name, addr, data)