diff options
author | chriseth <c@ethdev.com> | 2015-11-29 07:09:15 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-11-29 07:10:07 +0800 |
commit | b97bb086de91e1f834e6e92cfdc8a985a6f761de (patch) | |
tree | 8655252ecda0c90cfd3ab95cd18e6097d8aeff89 /libsolidity/codegen | |
parent | c806b9bcdb26fe031da94b8cdb270cb3c75b8af9 (diff) | |
download | dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.gz dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.tar.zst dexon-solidity-b97bb086de91e1f834e6e92cfdc8a985a6f761de.zip |
Introduce selfdestruct alias for suicide.
Diffstat (limited to 'libsolidity/codegen')
-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 6c288ae7..d4140ae8 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -535,7 +535,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) {} ); break; - case Location::Suicide: + case Location::Selfdestruct: arguments.front()->accept(*this); utils().convertType(*arguments.front()->annotation().type, *function.parameterTypes().front(), true); m_context << eth::Instruction::SUICIDE; |