Skip to content

Commit

Permalink
remove redundant branch
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jan 31, 2025
1 parent d7b72f7 commit 26ae754
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vyper/venom/passes/load_elimination.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ def _process_bb(self, bb, eff, load_opcode, store_opcode):

elif inst.opcode == load_opcode:
(ptr,) = inst.operands
known_ptr = self.get_literal(ptr)
if known_ptr is not None:
ptr = known_ptr

existing_value = self._lattice.get(ptr)

Expand Down

0 comments on commit 26ae754

Please sign in to comment.