Author: Maciej Fijalkowski <fij...@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]
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to