Introduce selfdestruct alias for suicide.

This commit is contained in:
chriseth
2015-11-29 00:10:07 +01:00
parent c806b9bcdb
commit b97bb086de
5 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -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;