Commit c10687d5 authored by Armin Rigo's avatar Armin Rigo
Browse files

Translation fix

parent 54055c320d57
......@@ -54,7 +54,7 @@ def get_location(next_instr, is_being_profiled, bytecode):
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment