aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/PeepholeOptimiser.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-02-07 19:26:02 +0800
committerGitHub <noreply@github.com>2017-02-07 19:26:02 +0800
commit94e5ab1e43adc3071941130b7652eb3b5f32c9f2 (patch)
treef5172d8e58f5a70043ba0e93911fdff7a7f7f8b3 /libevmasm/PeepholeOptimiser.cpp
parente5e0eae057816c6ed7f53a3972b7dff3032348ea (diff)
parent277415be30588e9694552c43bdbc70cc93aab94a (diff)
downloaddexon-solidity-94e5ab1e43adc3071941130b7652eb3b5f32c9f2.tar
dexon-solidity-94e5ab1e43adc3071941130b7652eb3b5f32c9f2.tar.gz
dexon-solidity-94e5ab1e43adc3071941130b7652eb3b5f32c9f2.tar.bz2
dexon-solidity-94e5ab1e43adc3071941130b7652eb3b5f32c9f2.tar.lz
dexon-solidity-94e5ab1e43adc3071941130b7652eb3b5f32c9f2.tar.xz
dexon-solidity-94e5ab1e43adc3071941130b7652eb3b5f32c9f2.tar.zst
dexon-solidity-94e5ab1e43adc3071941130b7652eb3b5f32c9f2.zip
Merge branch 'develop' into docs-version
Diffstat (limited to 'libevmasm/PeepholeOptimiser.cpp')
-rw-r--r--libevmasm/PeepholeOptimiser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/PeepholeOptimiser.cpp b/libevmasm/PeepholeOptimiser.cpp
index 528ce1c4..9a8341ab 100644
--- a/libevmasm/PeepholeOptimiser.cpp
+++ b/libevmasm/PeepholeOptimiser.cpp
@@ -200,7 +200,7 @@ struct UnreachableCode
it[0] != Instruction::RETURN &&
it[0] != Instruction::STOP &&
it[0] != Instruction::INVALID &&
- it[0] != Instruction::SUICIDE
+ it[0] != Instruction::SELFDESTRUCT
)
return false;