mirror of
https://github.com/python/cpython.git
synced 2025-10-16 03:40:58 +00:00
GH-111485: Remove some special cases from the code generator and bytecodes.c (GH-111540)
This commit is contained in:
parent
d27acd4461
commit
2904d99839
8 changed files with 119 additions and 55 deletions
|
@ -25,18 +25,10 @@ class ActiveCacheEffect:
|
|||
|
||||
|
||||
FORBIDDEN_NAMES_IN_UOPS = (
|
||||
"resume_with_error",
|
||||
"kwnames",
|
||||
"next_instr",
|
||||
"oparg1", # Proxy for super-instructions like LOAD_FAST_LOAD_FAST
|
||||
"JUMPBY",
|
||||
"DISPATCH",
|
||||
"INSTRUMENTED_JUMP",
|
||||
"throwflag",
|
||||
"exception_unwind",
|
||||
"import_from",
|
||||
"import_name",
|
||||
"_PyObject_CallNoArgs", # Proxy for BEFORE_WITH
|
||||
"TIER_ONE_ONLY",
|
||||
)
|
||||
|
||||
|
@ -294,7 +286,6 @@ class PseudoInstruction:
|
|||
|
||||
name: str
|
||||
targets: list[Instruction]
|
||||
instr_fmt: str
|
||||
instr_flags: InstructionFlags
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue