From 82055cbb615054725770dc9781b53e751c257474 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 13 Nov 2018 10:57:15 +0100 Subject: Jumps with annotations cannot be functional. --- libevmasm/AssemblyItem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libevmasm') diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp index a3a4d6b6..52f246d1 100644 --- a/libevmasm/AssemblyItem.cpp +++ b/libevmasm/AssemblyItem.cpp @@ -117,6 +117,8 @@ int AssemblyItem::returnValues() const bool AssemblyItem::canBeFunctional() const { + if (m_jumpType != JumpType::Ordinary) + return false; switch (m_type) { case Operation: -- cgit