[pypy-commit] pypy default: Translation fix

arigo pypy.commits at gmail.com
Mon Aug 1 17:26:57 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r85974:d046815fc8d5
Date: 2016-08-01 22:35 +0100
http://bitbucket.org/pypy/pypy/changeset/d046815fc8d5/

Log:	Translation fix

diff --git a/pypy/module/pypyjit/interp_jit.py b/pypy/module/pypyjit/interp_jit.py
--- a/pypy/module/pypyjit/interp_jit.py
+++ b/pypy/module/pypyjit/interp_jit.py
@@ -54,7 +54,7 @@
     name = bytecode.co_name
     if not name:
         name = ""
-    line = offset2lineno(bytecode, next_instr)
+    line = offset2lineno(bytecode, intmask(next_instr))
     return (bytecode.co_filename, line,
             name, intmask(next_instr), opname)
 


More information about the pypy-commit mailing list