diff options
author | Christian <c@ethdev.com> | 2014-11-01 00:47:43 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-11-03 23:11:40 +0800 |
commit | 4dfd6dfa13929f31dcea889d17a6fc77137f9c67 (patch) | |
tree | c9ce6abe2c76e25025669448da6bccfc9736f0f2 /ExpressionCompiler.cpp | |
parent | 643c781a6ddd4cd601b0aee5ad4d2ee0613495a0 (diff) | |
download | dexon-solidity-4dfd6dfa13929f31dcea889d17a6fc77137f9c67.tar.gz dexon-solidity-4dfd6dfa13929f31dcea889d17a6fc77137f9c67.tar.zst dexon-solidity-4dfd6dfa13929f31dcea889d17a6fc77137f9c67.zip |
Some tests and bugfixes for the compiler.
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r-- | ExpressionCompiler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index 871b6418..f9cbee37 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -264,6 +264,7 @@ void ExpressionCompiler::appendAndOrOperatorCode(BinaryOperation& _binaryOperati if (op == Token::AND) m_context << eth::Instruction::ISZERO; eth::AssemblyItem endLabel = m_context.appendConditionalJump(); + m_context << eth::Instruction::POP; _binaryOperation.getRightExpression().accept(*this); m_context << endLabel; } |