diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-05-19 21:44:58 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-06-01 19:06:12 +0800 |
commit | 16a2ffde80c45decae29e4861b7ee9ec5efa62ac (patch) | |
tree | c3d5f37c1abd1ee1805b20daab5abf4b4d672985 /ExpressionCompiler.cpp | |
parent | 0f323b1ef476078efafc8be27e03667750a6cd4f (diff) | |
download | dexon-solidity-16a2ffde80c45decae29e4861b7ee9ec5efa62ac.tar.gz dexon-solidity-16a2ffde80c45decae29e4861b7ee9ec5efa62ac.tar.zst dexon-solidity-16a2ffde80c45decae29e4861b7ee9ec5efa62ac.zip |
style fixes
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r-- | ExpressionCompiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index 063af7ce..c8aece85 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -1104,8 +1104,9 @@ void ExpressionCompiler::appendExternalFunctionCall( else m_context << eth::Instruction::CALL; + //Propagate error condition (if CALL pushes 0 on stack). m_context << eth::Instruction::ISZERO; - auto tag = m_context.appendConditionalJumpTo(m_context.errorTag());// if CALL leaves 0. + auto tag = m_context.appendConditionalJumpTo(m_context.errorTag()); if (_functionType.valueSet()) m_context << eth::Instruction::POP; |