[pypy-commit] pypy backend-vector-ops: fix the assembler names

fijal noreply at buildbot.pypy.org
Tue Feb 21 19:49:02 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: backend-vector-ops
Changeset: r52745:7358ce540e67
Date: 2012-02-21 11:48 -0700
http://bitbucket.org/pypy/pypy/changeset/7358ce540e67/

Log:	fix the assembler names

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
@@ -387,7 +387,7 @@
             m = re.search('guard \d+', comm)
             name = m.group(0)
         else:
-            name = comm[2:comm.find(':')-1]
+            name = " ".join(comm[2:].split(" ", 2)[:2])
         if name in dumps:
             bname, start_ofs, dump = dumps[name]
             loop.force_asm = (lambda dump=dump, start_ofs=start_ofs,


More information about the pypy-commit mailing list