From f01eb070259e6d78160a766db91686922cb07584 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Sun, 1 Oct 2023 17:50:09 -0400 Subject: [PATCH] use continue instead of break --- vyper/ir/optimizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vyper/ir/optimizer.py b/vyper/ir/optimizer.py index 69a70780b0..0ca6ff31ff 100644 --- a/vyper/ir/optimizer.py +++ b/vyper/ir/optimizer.py @@ -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