aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/PeepholeOptimiser.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-07 02:35:18 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-07 04:17:52 +0800
commit693226b1abc8e0557943482b9ca23b61e859ceba (patch)
tree65edb0066f588cf8d5f2859a41e9f50cde238841 /libevmasm/PeepholeOptimiser.cpp
parent3cbdafcfe947eafef7b8f6bbafd06f769261ae28 (diff)
downloaddexon-solidity-693226b1abc8e0557943482b9ca23b61e859ceba.tar.gz
dexon-solidity-693226b1abc8e0557943482b9ca23b61e859ceba.tar.zst
dexon-solidity-693226b1abc8e0557943482b9ca23b61e859ceba.zip
Rename SUICIDE opcode to SELFDESTRUCT in libevmasm
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;