Author: Alecsandru Patrascu <alecsandru.patra...@intel.com> Branch: fix-jitlog Changeset: r83586:68721543f4ba Date: 2016-04-08 13:52 +0300 http://bitbucket.org/pypy/pypy/changeset/68721543f4ba/
Log: (edd, palecsandru): Fixed the shown offset values in the jitlog diff --git a/rpython/jit/metainterp/logger.py b/rpython/jit/metainterp/logger.py --- a/rpython/jit/metainterp/logger.py +++ b/rpython/jit/metainterp/logger.py @@ -195,7 +195,8 @@ if ops_offset is None: offset = -1 else: - offset = ops_offset.get(op, -1) + final_op = op.get_box_replacement() + offset = ops_offset.get(final_op, -1) if offset == -1: s_offset = "" else: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit