diff options
Diffstat (limited to 'solidityCompiler.cpp')
-rw-r--r-- | solidityCompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp index c0d4e32d..84aac666 100644 --- a/solidityCompiler.cpp +++ b/solidityCompiler.cpp @@ -163,7 +163,7 @@ BOOST_AUTO_TEST_CASE(ifStatement) byte(Instruction::JUMPI), // new check "else if" condition byte(Instruction::DUP1), - byte(Instruction::NOT), + byte(Instruction::ISZERO), byte(Instruction::PUSH1), 0x13 + shift, byte(Instruction::JUMPI), // "else" body @@ -201,7 +201,7 @@ BOOST_AUTO_TEST_CASE(loops) bytes expectation({byte(Instruction::JUMPDEST), byte(Instruction::JUMPDEST), byte(Instruction::PUSH1), 0x1, - byte(Instruction::NOT), + byte(Instruction::ISZERO), byte(Instruction::PUSH1), 0x21 + shift, byte(Instruction::JUMPI), byte(Instruction::PUSH1), 0x1, |