aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityExpressionCompiler.cpp
diff options
context:
space:
mode:
authorValentin Wüstholz <wuestholz@gmail.com>2017-01-23 17:46:50 +0800
committerchriseth <c@ethdev.com>2017-01-26 23:39:07 +0800
commit5b7cc018f0b256fb42f7bee38ad8d1ec4e2ec634 (patch)
tree95f65ad06ee940ad3db7a73d6c4cb29c603cbe3c /test/libsolidity/SolidityExpressionCompiler.cpp
parent9bcbd93ac59a19320fd56e27c58a6283f2450666 (diff)
downloaddexon-solidity-5b7cc018f0b256fb42f7bee38ad8d1ec4e2ec634.tar.gz
dexon-solidity-5b7cc018f0b256fb42f7bee38ad8d1ec4e2ec634.tar.zst
dexon-solidity-5b7cc018f0b256fb42f7bee38ad8d1ec4e2ec634.zip
Address feedback from code review.
Diffstat (limited to 'test/libsolidity/SolidityExpressionCompiler.cpp')
-rw-r--r--test/libsolidity/SolidityExpressionCompiler.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/libsolidity/SolidityExpressionCompiler.cpp b/test/libsolidity/SolidityExpressionCompiler.cpp
index ca630169..a769776e 100644
--- a/test/libsolidity/SolidityExpressionCompiler.cpp
+++ b/test/libsolidity/SolidityExpressionCompiler.cpp
@@ -337,21 +337,17 @@ BOOST_AUTO_TEST_CASE(arithmetics)
byte(Instruction::ADD),
byte(Instruction::DUP2),
byte(Instruction::ISZERO),
- byte(Instruction::PUSH1), 0x1e,
+ byte(Instruction::ISZERO),
+ byte(Instruction::PUSH1), 0x1d,
byte(Instruction::JUMPI),
- byte(Instruction::PUSH1), 0x20,
- byte(Instruction::JUMP),
- byte(Instruction::JUMPDEST),
byte(Instruction::INVALID),
byte(Instruction::JUMPDEST),
byte(Instruction::MOD),
byte(Instruction::DUP2),
byte(Instruction::ISZERO),
- byte(Instruction::PUSH1), 0x2a,
+ byte(Instruction::ISZERO),
+ byte(Instruction::PUSH1), 0x26,
byte(Instruction::JUMPI),
- byte(Instruction::PUSH1), 0x2c,
- byte(Instruction::JUMP),
- byte(Instruction::JUMPDEST),
byte(Instruction::INVALID),
byte(Instruction::JUMPDEST),
byte(Instruction::DIV),