mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-109214: Rename SAVE_IP to _SET_IP, and similar (#109285)
* Rename SAVE_IP to _SET_IP * Rename EXIT_TRACE to _EXIT_TRACE * Rename SAVE_CURRENT_IP to _SAVE_CURRENT_IP * Rename INSERT to _INSERT (This is for Ken Jin's abstract interpreter) * Rename IS_NONE to _IS_NONE * Rename JUMP_TO_TOP to _JUMP_TO_TOP
This commit is contained in:
parent
1ee50e2a78
commit
fbaf77eb9b
11 changed files with 117 additions and 117 deletions
|
@ -124,7 +124,7 @@ class Instruction:
|
|||
if "FRAME" in self.name:
|
||||
dprint = print
|
||||
|
||||
if self.name == "EXIT_TRACE":
|
||||
if self.name == "_EXIT_TRACE":
|
||||
return True # This has 'return frame' but it's okay
|
||||
if self.always_exits:
|
||||
dprint(f"Skipping {self.name} because it always exits: {self.always_exits}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue