From dd817d4bdea40c2eb3073ac0caefea11727b865b Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Sun, 7 Sep 2025 16:28:27 +0200 Subject: [PATCH 1/3] Update venom_to_assembly.py --- vyper/venom/venom_to_assembly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyper/venom/venom_to_assembly.py b/vyper/venom/venom_to_assembly.py index 2bfe81dfff..9bdd7b53c9 100644 --- a/vyper/venom/venom_to_assembly.py +++ b/vyper/venom/venom_to_assembly.py @@ -402,7 +402,7 @@ def _generate_evm_for_instruction( operands = [offset] # iload and istore are special cases because they can take a literal - # that is handled specialy with the _OFST macro. Look below, after the + # that is handled specially with the _OFST macro. Look below, after the # stack reordering. elif opcode == "iload": addr = inst.operands[0] From 66a64f362e0ab6721e82e5ccae36075fb9b6c1eb Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Sun, 7 Sep 2025 16:28:54 +0200 Subject: [PATCH 2/3] Update algebraic_optimization.py --- vyper/venom/passes/algebraic_optimization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyper/venom/passes/algebraic_optimization.py b/vyper/venom/passes/algebraic_optimization.py index e04dc02fc8..4708794051 100644 --- a/vyper/venom/passes/algebraic_optimization.py +++ b/vyper/venom/passes/algebraic_optimization.py @@ -60,7 +60,7 @@ def _optimize_iszero_chains(self) -> None: opcode = use_inst.opcode if opcode == "iszero": - # We keep iszero instuctions as is + # We keep iszero instructions as is continue if opcode in ("jnz", "assert"): # instructions that accept a truthy value as input: From 66d60178e62b552ec133487ddcf8a866cb419a62 Mon Sep 17 00:00:00 2001 From: sashaodessa <140454972+sashaodessa@users.noreply.github.com> Date: Sun, 7 Sep 2025 16:29:57 +0200 Subject: [PATCH 3/3] Update available_expression.py --- vyper/venom/analysis/available_expression.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vyper/venom/analysis/available_expression.py b/vyper/venom/analysis/available_expression.py index 7cc6390797..4e98582f83 100644 --- a/vyper/venom/analysis/available_expression.py +++ b/vyper/venom/analysis/available_expression.py @@ -262,7 +262,7 @@ def analyze(self): if self._handle_bb(bb): worklist.extend(self.cfg.cfg_out(bb)) - # msize effect should be only necessery + # msize effect should be only necessary # to be handled when there is a possibility # of msize read otherwise it should not make difference # for this analysis @@ -317,7 +317,7 @@ def _handle_bb(self, bb: IRBasicBlock) -> bool: if bb not in self.bb_outs or available_exprs != self.bb_outs[bb]: self.bb_outs[bb] = available_exprs - # change is only necessery when the output of the + # change is only necessary when the output of the # basic block is changed (otherwise it wont affect rest) change |= True