vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.84k stars 788 forks source link

Missing Continue in Assembly Optimizations #4113

Open ritzdorf opened 4 months ago

ritzdorf commented 4 months ago

Version Information

_stack_peephole_opts() tries to perform 5 different optimizations at each index i of the assembly using a while loop. However, the last two optimizations, when performed do not continue the loop, which means that: