Author: Maciej Fijalkowski <fij...@gmail.com> Branch: Changeset: r75156:15909b35f447 Date: 2014-12-30 09:58 +0200 http://bitbucket.org/pypy/pypy/changeset/15909b35f447/
Log: fix tests 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 @@ -27,7 +27,7 @@ asm = None failargs = () - def __init__(self, name, args, res, descr): + def __init__(self, name, args, res, descr, failargs=None): self.name = name self.args = args self.res = res @@ -35,6 +35,7 @@ self._is_guard = name.startswith('guard_') if self._is_guard: self.guard_no = int(self.descr[len('<Guard0x'):-1], 16) + self.failargs = failargs def as_json(self): d = { @@ -155,8 +156,8 @@ def box_for_var(self, res): return res - def create_op(self, opnum, args, res, descr): - return self.Op(intern(opname[opnum].lower()), args, res, descr) + def create_op(self, opnum, args, res, descr, fail_args): + return self.Op(intern(opname[opnum].lower()), args, res, descr, fail_args) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit