diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-10 21:32:36 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-10 21:32:36 +0800 |
commit | 8a3d4a0500e98dbca83c0217d141fcb4860986e3 (patch) | |
tree | 888898f6e5b70015f47090e1dc649bf82a641deb /libsolidity | |
parent | 39cd2214f2161d2e09ab0de21a64f6dcdb851b13 (diff) | |
download | dexon-solidity-8a3d4a0500e98dbca83c0217d141fcb4860986e3.tar dexon-solidity-8a3d4a0500e98dbca83c0217d141fcb4860986e3.tar.gz dexon-solidity-8a3d4a0500e98dbca83c0217d141fcb4860986e3.tar.bz2 dexon-solidity-8a3d4a0500e98dbca83c0217d141fcb4860986e3.tar.lz dexon-solidity-8a3d4a0500e98dbca83c0217d141fcb4860986e3.tar.xz dexon-solidity-8a3d4a0500e98dbca83c0217d141fcb4860986e3.tar.zst dexon-solidity-8a3d4a0500e98dbca83c0217d141fcb4860986e3.zip |
Cleanup is not needed for assert()
Diffstat (limited to 'libsolidity')
-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 a99e3d40..f69d61db 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -866,7 +866,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) case Location::Assert: { arguments.front()->accept(*this); - utils().convertType(*arguments.front()->annotation().type, *function.parameterTypes().front(), true); + utils().convertType(*arguments.front()->annotation().type, *function.parameterTypes().front(), false); m_context << Instruction::ISZERO; m_context.appendConditionalJumpTo(m_context.errorTag()); break; |