aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/SemanticInformation.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-26 22:59:29 +0800
committerchriseth <c@ethdev.com>2017-01-26 23:39:07 +0800
commitae2b59d18a181bfbcb563b91866611d2e5e55b41 (patch)
tree48179bcc76c053f5bb2ef397db86ac8f8667088e /libevmasm/SemanticInformation.cpp
parentc2b3d8bcd28a3047a832cf813df14a97a5b01daa (diff)
downloaddexon-solidity-ae2b59d18a181bfbcb563b91866611d2e5e55b41.tar.gz
dexon-solidity-ae2b59d18a181bfbcb563b91866611d2e5e55b41.tar.zst
dexon-solidity-ae2b59d18a181bfbcb563b91866611d2e5e55b41.zip
Fix optimizer with regards to INVALID instruction.
Diffstat (limited to 'libevmasm/SemanticInformation.cpp')
-rw-r--r--libevmasm/SemanticInformation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libevmasm/SemanticInformation.cpp b/libevmasm/SemanticInformation.cpp
index 23a00d95..d3ce4735 100644
--- a/libevmasm/SemanticInformation.cpp
+++ b/libevmasm/SemanticInformation.cpp
@@ -118,6 +118,7 @@ bool SemanticInformation::altersControlFlow(AssemblyItem const& _item)
case Instruction::RETURN:
case Instruction::SUICIDE:
case Instruction::STOP:
+ case Instruction::INVALID:
return true;
default:
return false;