aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-30 23:06:18 +0800
committerchriseth <c@ethdev.com>2015-11-30 23:06:18 +0800
commita8736b7b271dac117f15164cf4d2dfabcdd2c6fd (patch)
treefd868faadee1029f9466e98c8159f402c1921d1d /libsolidity/codegen/ExpressionCompiler.cpp
parenta3801be40c264296a6530d62141d96546b884190 (diff)
parentb97bb086de91e1f834e6e92cfdc8a985a6f761de (diff)
downloaddexon-solidity-a8736b7b271dac117f15164cf4d2dfabcdd2c6fd.tar.gz
dexon-solidity-a8736b7b271dac117f15164cf4d2dfabcdd2c6fd.tar.zst
dexon-solidity-a8736b7b271dac117f15164cf4d2dfabcdd2c6fd.zip
Merge pull request #256 from chriseth/selfdestruct
Introduce selfdestruct alias for suicide.
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.cpp')
-rw-r--r--libsolidity/codegen/ExpressionCompiler.cpp2
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;