mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Typos and docs.
This commit is contained in:
parent
4c656af3ec
commit
68b61432ae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user