mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
22 lines
418 B
Plaintext
22 lines
418 B
Plaintext
{
|
|
let x := calldataload(1)
|
|
sstore(x, 7)
|
|
sstore(calldataload(0), 7)
|
|
// We can replace this because both values that were
|
|
// written are 7.
|
|
mstore(0, sload(x))
|
|
}
|
|
// ----
|
|
// step: loadResolver
|
|
//
|
|
// {
|
|
// {
|
|
// let x := calldataload(1)
|
|
// let _2 := 7
|
|
// sstore(x, _2)
|
|
// let _4 := 0
|
|
// sstore(calldataload(_4), _2)
|
|
// mstore(_4, _2)
|
|
// }
|
|
// }
|