diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-07 02:35:18 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-07 04:17:52 +0800 |
commit | 693226b1abc8e0557943482b9ca23b61e859ceba (patch) | |
tree | 65edb0066f588cf8d5f2859a41e9f50cde238841 /libsolidity/codegen/ExpressionCompiler.cpp | |
parent | 3cbdafcfe947eafef7b8f6bbafd06f769261ae28 (diff) | |
download | dexon-solidity-693226b1abc8e0557943482b9ca23b61e859ceba.tar.gz dexon-solidity-693226b1abc8e0557943482b9ca23b61e859ceba.tar.zst dexon-solidity-693226b1abc8e0557943482b9ca23b61e859ceba.zip |
Rename SUICIDE opcode to SELFDESTRUCT in libevmasm
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.cpp')
-rw-r--r-- | libsolidity/codegen/ExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp index b66a3e12..d74d9dd3 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -648,7 +648,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) case Location::Selfdestruct: arguments.front()->accept(*this); utils().convertType(*arguments.front()->annotation().type, *function.parameterTypes().front(), true); - m_context << Instruction::SUICIDE; + m_context << Instruction::SELFDESTRUCT; break; case Location::SHA3: { |