Some tests and bugfixes for the compiler.

This commit is contained in:
Christian
2014-11-03 16:11:40 +01:00
parent 643c781a6d
commit 4dfd6dfa13
3 changed files with 15 additions and 21 deletions
+1
View File
@@ -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;
}