mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
20 lines
394 B
Plaintext
20 lines
394 B
Plaintext
{
|
|
let x := calldataload(1)
|
|
sstore(x, 7)
|
|
sstore(calldataload(0), 6)
|
|
// We cannot replace this because we do not know
|
|
// if the two slots are different.
|
|
mstore(0, sload(x))
|
|
}
|
|
// ----
|
|
// step: loadResolver
|
|
//
|
|
// {
|
|
// let x := calldataload(1)
|
|
// sstore(x, 7)
|
|
// let _3 := 6
|
|
// let _4 := 0
|
|
// sstore(calldataload(_4), _3)
|
|
// mstore(_4, sload(x))
|
|
// }
|