diff options
author | chriseth <c@ethdev.com> | 2015-04-07 22:33:13 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-04-07 23:21:09 +0800 |
commit | 68b61432aea5f99f179b74f5a7a63138a5d2b09a (patch) | |
tree | 7c42f7f030ec5284593283339e6fe709589a4a1b | |
parent | 4c656af3ec922c8db8a254d2e4a9880e9779106b (diff) | |
download | dexon-solidity-68b61432aea5f99f179b74f5a7a63138a5d2b09a.tar dexon-solidity-68b61432aea5f99f179b74f5a7a63138a5d2b09a.tar.gz dexon-solidity-68b61432aea5f99f179b74f5a7a63138a5d2b09a.tar.bz2 dexon-solidity-68b61432aea5f99f179b74f5a7a63138a5d2b09a.tar.lz dexon-solidity-68b61432aea5f99f179b74f5a7a63138a5d2b09a.tar.xz dexon-solidity-68b61432aea5f99f179b74f5a7a63138a5d2b09a.tar.zst dexon-solidity-68b61432aea5f99f179b74f5a7a63138a5d2b09a.zip |
Typos and docs.
-rw-r--r-- | SolidityOptimizer.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/SolidityOptimizer.cpp b/SolidityOptimizer.cpp index ca72f4fe..f523847f 100644 --- a/SolidityOptimizer.cpp +++ b/SolidityOptimizer.cpp @@ -715,15 +715,15 @@ BOOST_AUTO_TEST_CASE(cse_sha3_twice_same_content_noninterfering_store_in_between Instruction::DUP5, Instruction::DUP2, Instruction::MSTORE, // m[12] = DUP1 - Instruction::DUP12, - u256(12 + 32), - Instruction::MSTORE, // does not destoy memory knowledge - Instruction::DUP13, - u256(128 - 32), - Instruction::MSTORE, // does not destoy memory knowledge - u256(0x20), - u256(12), - Instruction::SHA3 // sha3(m[12..(12+32)]) + Instruction::DUP12, + u256(12 + 32), + Instruction::MSTORE, // does not destoy memory knowledge + Instruction::DUP13, + u256(128 - 32), + Instruction::MSTORE, // does not destoy memory knowledge + u256(0x20), + u256(12), + Instruction::SHA3 // sha3(m[12..(12+32)]) }; // if this changes too often, only count the number of SHA3 and MSTORE instructions AssemblyItems output = getCSE(input); |