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