From 68b61432aea5f99f179b74f5a7a63138a5d2b09a Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 7 Apr 2015 16:33:13 +0200 Subject: [PATCH] Typos and docs. --- SolidityOptimizer.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/SolidityOptimizer.cpp b/SolidityOptimizer.cpp index ca72f4fe1..f523847f1 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);