Author: Richard Plangger <[email protected]>
Branch: vecopt-merge
Changeset: r79903:b76456a0884f
Date: 2015-09-30 09:21 +0200
http://bitbucket.org/pypy/pypy/changeset/b76456a0884f/
Log: fixed test_parser tests (overwrote update_memo)
diff --git a/rpython/jit/tool/oparser.py b/rpython/jit/tool/oparser.py
--- a/rpython/jit/tool/oparser.py
+++ b/rpython/jit/tool/oparser.py
@@ -366,7 +366,7 @@
Internally you will see the same variable names as
in the trace as string.
"""
- regex = re.compile("[prif](\d+)")
+ regex = re.compile("[prifv](\d+)")
match = regex.match(name)
if match:
counter = int(match.group(1))
diff --git a/rpython/tool/jitlogparser/parser.py
b/rpython/tool/jitlogparser/parser.py
--- a/rpython/tool/jitlogparser/parser.py
+++ b/rpython/tool/jitlogparser/parser.py
@@ -164,7 +164,8 @@
return self.Op(intern(opname[opnum].lower()), args, None,
descr, fail_args)
-
+ def update_memo(self, val, name):
+ pass
class NonCodeError(Exception):
pass
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit