diff options
Diffstat (limited to 'Compiler.cpp')
-rw-r--r-- | Compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Compiler.cpp b/Compiler.cpp index b1e3c3da..7909e070 100644 --- a/Compiler.cpp +++ b/Compiler.cpp @@ -243,7 +243,7 @@ bool Compiler::visit(WhileStatement& _whileStatement) m_context << loopStart; ExpressionCompiler::compileExpression(m_context, _whileStatement.getCondition()); - m_context << eth::Instruction::NOT; + m_context << eth::Instruction::ISZERO; m_context.appendConditionalJumpTo(loopEnd); _whileStatement.getBody().accept(*this); |