mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
GH-108614: Remove non-debug uses of #if TIER_ONE
and #if TIER_TWO
from _POP_FRAME
op. (GH-108685)
This commit is contained in:
parent
194c6fb85e
commit
059bd4d299
7 changed files with 123 additions and 66 deletions
|
@ -369,8 +369,8 @@ def write_macro_instr(
|
|||
next_instr_is_set = write_components(parts, out, TIER_ONE, mac.cache_offset)
|
||||
except AssertionError as err:
|
||||
raise AssertionError(f"Error writing macro {mac.name}") from err
|
||||
if not parts[-1].instr.always_exits and not next_instr_is_set:
|
||||
if mac.cache_offset:
|
||||
if not parts[-1].instr.always_exits:
|
||||
if not next_instr_is_set and mac.cache_offset:
|
||||
out.emit(f"next_instr += {mac.cache_offset};")
|
||||
out.emit("DISPATCH();")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue