Review suggestions.

This commit is contained in:
chriseth
2017-06-23 19:29:11 +02:00
parent 7f05ef8aca
commit 64067975e4
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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