mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
PY-57113 Use call instruction offset instead of offset of function name load instruction
To understand if the function has already been called, it is essential to use the actual call instruction offset instead of just the offset of the instruction that loads the function name to the stack. GitOrigin-RevId: daee548c9eaa4c041a83756ba3e3a6ecfb3b3ce7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3c29ea6720
commit
f0ee8394f0
@@ -44,7 +44,7 @@ def get_stepping_variants(code):
|
||||
tos.opcode,
|
||||
tos.arg,
|
||||
tos.argval,
|
||||
tos.offset,
|
||||
instruction.offset,
|
||||
tos.positions.lineno
|
||||
)
|
||||
elif _is_binary_opname(instruction.opname):
|
||||
|
||||
@@ -73,7 +73,7 @@ def get_stepping_variants(code):
|
||||
tos.opcode,
|
||||
tos.arg,
|
||||
tos.argval,
|
||||
tos.offset,
|
||||
instruction.offset,
|
||||
curr_line
|
||||
)
|
||||
elif _is_binary_opname(instruction.opname):
|
||||
|
||||
Reference in New Issue
Block a user