Skip to content

Commit

Permalink
use continue instead of break
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Oct 1, 2023
1 parent 2191fc3 commit f01eb07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vyper/ir/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,8 @@ def _merge_load(argz, _LOAD, _COPY, allow_overlap=True):
idx = i

if not allow_overlap and initial_dst_offset <= initial_src_offset <= dst_offset:
# dst and src overlap, block the optimization
break
# dst and src overlap, discontinue the optimization
continue

if (
initial_dst_offset + total_length == dst_offset
Expand Down

0 comments on commit f01eb07

Please sign in to comment.