mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-117062: Make _JUMP_TO_TOP a general absolute jump (GH-120854)
This commit is contained in:
parent
ce1064e4c9
commit
a47abdb45d
5 changed files with 7 additions and 12 deletions
|
@ -42,8 +42,6 @@ class HoleValue(enum.Enum):
|
|||
ERROR_TARGET = enum.auto()
|
||||
# The index of the exit to be jumped through (exposed as _JIT_EXIT_INDEX):
|
||||
EXIT_INDEX = enum.auto()
|
||||
# The base address of the machine code for the first uop (exposed as _JIT_TOP):
|
||||
TOP = enum.auto()
|
||||
# A hardcoded value of zero (used for symbol lookups):
|
||||
ZERO = enum.auto()
|
||||
|
||||
|
@ -110,7 +108,6 @@ _HOLE_EXPRS = {
|
|||
HoleValue.JUMP_TARGET: "instruction_starts[instruction->jump_target]",
|
||||
HoleValue.ERROR_TARGET: "instruction_starts[instruction->error_target]",
|
||||
HoleValue.EXIT_INDEX: "instruction->exit_index",
|
||||
HoleValue.TOP: "instruction_starts[1]",
|
||||
HoleValue.ZERO: "",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue