8000 GH-131729: Code-gen better liveness analysis by markshannon · Pull Request #131732 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-131729: Code-gen better liveness analysis #131732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Prev Previous commit
Next Next commit
Remove unused function
  • Loading branch information
markshannon committed Mar 24, 2025
commit 2b21bf940249215a5d82ebeb75f7c58a0ba5356b
6 changes: 0 additions & 6 deletions Tools/cases_generator/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,6 @@ def is_live(var: Local) -> bool:
var.name != "unused"
)

def first_input_not_cleared(self) -> str:
for input in self.inputs:
if input.in_local:
return input.name
return ""

def clear_inputs(self, reason:str) -> None:
while self.inputs:
tos = self.inputs.pop()
Expand Down
0