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
19 lines
326 B
Plaintext
19 lines
326 B
Plaintext
{
|
|
let a := calldataload(0)
|
|
let t := msize()
|
|
let x := keccak256(0, a)
|
|
let y := keccak256(0, a)
|
|
sstore(x, y)
|
|
}
|
|
// ----
|
|
// step: loadResolver
|
|
//
|
|
// {
|
|
// {
|
|
// let _1 := 0
|
|
// let a := calldataload(_1)
|
|
// let x := keccak256(_1, a)
|
|
// sstore(x, keccak256(_1, a))
|
|
// }
|
|
// }
|