Skip to content

Commit

Permalink
fix get_write_effects()
Browse files Browse the repository at this point in the history
Co-authored-by: Harry Kalogirou <harkal@nlogn.eu>
  • Loading branch information
charles-cooper and harkal authored Sep 28, 2024
1 parent 2987d36 commit e9b5303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/venom/basicblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def get_read_effects(self):
return effects.reads.get(self.opcode, ())

def get_write_effects(self):
return effects.reads.get(self.opcode, ())
return effects.writes.get(self.opcode, ())

def get_label_operands(self) -> Iterator[IRLabel]:
"""
Expand Down

0 comments on commit e9b5303

Please sign in to comment.