[pypy-commit] pypy default: that was easy, fix arg usage

fijal noreply at buildbot.pypy.org
Thu Jul 21 10:22:29 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r45796:065c98a10f0d
Date: 2011-07-21 10:22 +0200
http://bitbucket.org/pypy/pypy/changeset/065c98a10f0d/

Log:	that was easy, fix arg usage

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
@@ -37,7 +37,7 @@
         return self._is_guard
 
     def repr(self):
-        args = self.getargs()
+        args = self.args
         if self.descr is not None:
             args.append('descr=%s' % self.descr)
         arglist = ', '.join(args)
@@ -145,7 +145,7 @@
         if operations[0].name == 'debug_merge_point':
             self.inline_level = int(operations[0].args[0])
             m = re.search('<code object ([<>\w]+)\. file \'(.+?)\'\. line (\d+)> #(\d+) (\w+)',
-                         operations[0].getarg(1))
+                         operations[0].args[1])
             if m is None:
                 # a non-code loop, like StrLiteralSearch or something
                 self.bytecode_name = operations[0].args[1]


More information about the pypy-commit mailing list