diff options
author | chriseth <chris@ethereum.org> | 2017-06-16 21:52:56 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-24 01:29:11 +0800 |
commit | 64067975e4d06a984fb7b92dcfb7484561c01de3 (patch) | |
tree | 17a78893b3585b22476e2fa51b8e4e7d8b453442 /libsolidity/codegen | |
parent | 7f05ef8acac2cc6ef1df70d31205e72422540272 (diff) | |
download | dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar.gz dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.tar.zst dexon-solidity-64067975e4d06a984fb7b92dcfb7484561c01de3.zip |
Review suggestions.
Diffstat (limited to 'libsolidity/codegen')
-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 2fc3bf6b..a7cfe4dc 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -886,7 +886,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) auto success = m_context.appendConditionalJump(); if (function.kind() == FunctionType::Kind::Assert) // condition was not met, flag an error - m_context << Instruction::INVALID; + m_context.appendInvalid(); else m_context.appendRevert(); // the success branch |