Skip to content

Commit

Permalink
add a note
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Sep 29, 2024
1 parent a367b1d commit b8ae0d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vyper/venom/venom_to_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ def _stack_reorder(

to_swap = stack.peek(final_stack_depth)
if self.equivalence.equivalent(op, to_swap):
# perform a "virtual" swap
stack.poke(final_stack_depth, op)
stack.poke(depth, to_swap)
continue
Expand Down

0 comments on commit b8ae0d1

Please sign in to comment.