Skip to content

Commit

Permalink
fix jmp => jnz
Browse files Browse the repository at this point in the history
  • Loading branch information
HodanPlodky committed Dec 9, 2024
1 parent 7196c56 commit 4ffdf9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/compiler/venom/test_removeunused.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_removeunused_msize_branches():

par = bb.append_instruction("param")
bb.append_instruction("mload", 10)
bb.append_instruction("jmp", par, branch1.label, branch2.label)
bb.append_instruction("jnz", par, branch1.label, branch2.label)

msize = branch1.append_instruction("msize")
branch1.append_instruction("mstore", msize, 10)
Expand Down

0 comments on commit 4ffdf9d

Please sign in to comment.