diff options
author | chriseth <chris@ethereum.org> | 2018-03-08 22:38:14 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-04-04 22:50:45 +0800 |
commit | 65f18a18de410b46844892e69b0578a61669aac1 (patch) | |
tree | 98b6812736ed2c5f10d48d7de9e27e8807a501c2 /test/libsolidity/SolidityOptimizer.cpp | |
parent | efa0ccaf9e25a257e1ee6b36c0b77b1532131077 (diff) | |
download | dexon-solidity-65f18a18de410b46844892e69b0578a61669aac1.tar.gz dexon-solidity-65f18a18de410b46844892e69b0578a61669aac1.tar.zst dexon-solidity-65f18a18de410b46844892e69b0578a61669aac1.zip |
More specific push implementation.
Diffstat (limited to 'test/libsolidity/SolidityOptimizer.cpp')
-rw-r--r-- | test/libsolidity/SolidityOptimizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp index a0df76f3..5326feaf 100644 --- a/test/libsolidity/SolidityOptimizer.cpp +++ b/test/libsolidity/SolidityOptimizer.cpp @@ -627,8 +627,8 @@ BOOST_AUTO_TEST_CASE(optimise_multi_stores) )"; compileBothVersions(sourceCode); compareVersions("f()"); - BOOST_CHECK_EQUAL(numInstructions(m_nonOptimizedBytecode, Instruction::SSTORE), 13); - BOOST_CHECK_EQUAL(numInstructions(m_optimizedBytecode, Instruction::SSTORE), 11); + BOOST_CHECK_EQUAL(numInstructions(m_nonOptimizedBytecode, Instruction::SSTORE), 9); + BOOST_CHECK_EQUAL(numInstructions(m_optimizedBytecode, Instruction::SSTORE), 8); } BOOST_AUTO_TEST_SUITE_END() |