mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
79c52b3c9e
Re-use knowledge about keccak calls. Update gas cost. More tests. Fix bug. Update libyul/optimiser/DataFlowAnalyzer.cpp Remove util prefixes fix test More test cases. Add Changelog entry
15 lines
241 B
Plaintext
15 lines
241 B
Plaintext
{
|
|
let x := calldataload(0)
|
|
sstore(keccak256(0, x), keccak256(0, x))
|
|
}
|
|
// ----
|
|
// step: loadResolver
|
|
//
|
|
// {
|
|
// {
|
|
// let _1 := 0
|
|
// let _3 := keccak256(_1, calldataload(_1))
|
|
// sstore(_3, _3)
|
|
// }
|
|
// }
|