forked from vyperlang/vyper
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[venom]: add small heuristic for cleaning input stack (vyperlang#…
…4251) this commit adds a small heuristic for cleaning the input stack from `cfg_in`, which is to pop the shallowest items first. it also cleans up the code a little bit and adds stronger preconditions to the code. a further optimization would be to try to align the output stack as best as possible at the `jnz`, but that belongs in the DFT pass.
- Loading branch information
1 parent
d079562
commit d8f4032
Showing
1 changed file
with
22 additions
and
19 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