Introduce selfdestruct alias for suicide.

This commit is contained in:
chriseth committed 2015-11-29 00:10:07 +01:00
1 parent c806b9bcdb
commit b97bb086de
5 files changed
+23 -5

No files matched your search

+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;