Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly model control flow in check-roots.py
For each variable usage, we now trace back the control flow to the start of the function, while ensuring we go through each loop at least once, to get the correct state of the temp root stack at that location. With this we handle branches and loops correctly.
- Loading branch information
Showing
1 changed file
with
69 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters