Typos and docs.

This commit is contained in:
chriseth 2015-04-07 16:33:13 +02:00
parent 4c656af3ec
commit 68b61432ae

View File

@ -715,15 +715,15 @@ BOOST_AUTO_TEST_CASE(cse_sha3_twice_same_content_noninterfering_store_in_between
Instruction::DUP5, Instruction::DUP5,
Instruction::DUP2, Instruction::DUP2,
Instruction::MSTORE, // m[12] = DUP1 Instruction::MSTORE, // m[12] = DUP1
Instruction::DUP12, Instruction::DUP12,
u256(12 + 32), u256(12 + 32),
Instruction::MSTORE, // does not destoy memory knowledge Instruction::MSTORE, // does not destoy memory knowledge
Instruction::DUP13, Instruction::DUP13,
u256(128 - 32), u256(128 - 32),
Instruction::MSTORE, // does not destoy memory knowledge Instruction::MSTORE, // does not destoy memory knowledge
u256(0x20), u256(0x20),
u256(12), u256(12),
Instruction::SHA3 // sha3(m[12..(12+32)]) Instruction::SHA3 // sha3(m[12..(12+32)])
}; };
// if this changes too often, only count the number of SHA3 and MSTORE instructions // if this changes too often, only count the number of SHA3 and MSTORE instructions
AssemblyItems output = getCSE(input); AssemblyItems output = getCSE(input);