[pypy-commit] pypy default: fix logger

fijal noreply at buildbot.pypy.org
Tue Jun 7 15:12:58 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r44786:949cbe999845
Date: 2011-06-07 15:13 +0200
http://bitbucket.org/pypy/pypy/changeset/949cbe999845/

Log:	fix logger

diff --git a/pypy/jit/metainterp/logger.py b/pypy/jit/metainterp/logger.py
--- a/pypy/jit/metainterp/logger.py
+++ b/pypy/jit/metainterp/logger.py
@@ -102,7 +102,7 @@
     def repr_of_resop(self, op, ops_offset=None):
         if op.getopnum() == rop.DEBUG_MERGE_POINT:
             jd_sd = self.metainterp_sd.jitdrivers_sd[op.getarg(0).getint()]
-            s = jd_sd.warmstate.get_location_str(op.getarglist()[1:])
+            s = jd_sd.warmstate.get_location_str(op.getarglist()[2:])
             return "debug_merge_point('%s')" % (s,)
         if ops_offset is None:
             offset = -1


More information about the pypy-commit mailing list