GH-117512: Allow 64-bit JIT operands on 32-bit platforms (GH-117527)

This commit is contained in:
Brandt Bucher 2024-04-06 08:26:43 -07:00 committed by GitHub
parent df4d84c3cd
commit 62aeb0ee69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 47 additions and 31 deletions

View file

@ -27,8 +27,11 @@ class HoleValue(enum.Enum):
GOT = enum.auto()
# The current uop's oparg (exposed as _JIT_OPARG):
OPARG = enum.auto()
# The current uop's operand (exposed as _JIT_OPERAND):
# The current uop's operand on 64-bit platforms (exposed as _JIT_OPERAND):
OPERAND = enum.auto()
# The current uop's operand on 32-bit platforms (exposed as _JIT_OPERAND_HI and _JIT_OPERAND_LO):
OPERAND_HI = enum.auto()
OPERAND_LO = enum.auto()
# The current uop's target (exposed as _JIT_TARGET):
TARGET = enum.auto()
# The base address of the machine code for the jump target (exposed as _JIT_JUMP_TARGET):