mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce selfdestruct alias for suicide.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user