Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vyper/venom/analysis/available_expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion vyper/venom/passes/algebraic_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion vyper/venom/venom_to_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,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]
Expand Down