mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Review suggestions.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user