From 4ffdf9d79a6af8f1b7f8fdb12f0165e719270bc4 Mon Sep 17 00:00:00 2001 From: Hodan Date: Mon, 9 Dec 2024 16:24:21 +0100 Subject: [PATCH] fix jmp => jnz --- tests/unit/compiler/venom/test_removeunused.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/compiler/venom/test_removeunused.py b/tests/unit/compiler/venom/test_removeunused.py index aca4561b34..8ecbe1fa2b 100644 --- a/tests/unit/compiler/venom/test_removeunused.py +++ b/tests/unit/compiler/venom/test_removeunused.py @@ -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)