mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style fixes
This commit is contained in:
parent
ccb194fd39
commit
9af94ca0dc
@ -1035,7 +1035,7 @@ void ExpressionCompiler::appendHighBitsCleanup(IntegerType const& _typeOnStack)
|
|||||||
void ExpressionCompiler::appendExternalFunctionCall(
|
void ExpressionCompiler::appendExternalFunctionCall(
|
||||||
FunctionType const& _functionType,
|
FunctionType const& _functionType,
|
||||||
vector<ASTPointer<Expression const>> const& _arguments
|
vector<ASTPointer<Expression const>> const& _arguments
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
solAssert(_functionType.takesArbitraryParameters() ||
|
solAssert(_functionType.takesArbitraryParameters() ||
|
||||||
_arguments.size() == _functionType.getParameterTypes().size(), "");
|
_arguments.size() == _functionType.getParameterTypes().size(), "");
|
||||||
@ -1106,7 +1106,7 @@ void ExpressionCompiler::appendExternalFunctionCall(
|
|||||||
|
|
||||||
//Propagate error condition (if CALL pushes 0 on stack).
|
//Propagate error condition (if CALL pushes 0 on stack).
|
||||||
auto tag = m_context.appendConditionalJump();
|
auto tag = m_context.appendConditionalJump();
|
||||||
m_context << eth::Instruction::STOP << tag; // STOP if CALL leaves 0.// }
|
m_context << eth::Instruction::STOP << tag; // STOP if CALL leaves 0.
|
||||||
|
|
||||||
if (_functionType.valueSet())
|
if (_functionType.valueSet())
|
||||||
m_context << eth::Instruction::POP;
|
m_context << eth::Instruction::POP;
|
||||||
|
Loading…
Reference in New Issue
Block a user